mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Fix arena_choose_hard() regression.
This regression was caused by 66cd953514
(Do not allocate metadata via non-auto arenas, nor tcaches.).
This commit is contained in:
parent
71d94828a2
commit
259f8ebbfc
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ arena_choose_hard(tsd_t *tsd, bool internal)
|
|||
|
||||
for (j = 0; j < 2; j++) {
|
||||
if (arena_nthreads_get(arena_get(tsd, choose[j], false),
|
||||
!!j) == 0 || first_null != narenas_auto) {
|
||||
!!j) == 0 || first_null == narenas_auto) {
|
||||
/*
|
||||
* Use an unloaded arena, or the least loaded
|
||||
* arena if all arenas are already initialized.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue