mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-13 18:49:31 +03:00
fix mi_likely branch that was marked as unlikely
This commit is contained in:
parent
e8c7505853
commit
64c1d6de86
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void _mi_page_free_collect(mi_page_t* page, bool force) {
|
||||||
|
|
||||||
// and the local free list
|
// and the local free list
|
||||||
if (page->local_free != NULL) {
|
if (page->local_free != NULL) {
|
||||||
if (mi_unlikely(page->free == NULL)) {
|
if (mi_likely(page->free == NULL)) {
|
||||||
// usual case
|
// usual case
|
||||||
page->free = page->local_free;
|
page->free = page->local_free;
|
||||||
page->local_free = NULL;
|
page->local_free = NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue