mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Fix the arena selection for oversized allocations.
Use the per-arena oversize_threshold, instead of the global setting.
This commit is contained in:
@@ -2090,7 +2090,7 @@ malloc_init_narenas(void) {
|
||||
narenas_auto);
|
||||
}
|
||||
narenas_total_set(narenas_auto);
|
||||
if (arena_init_huge()) {
|
||||
if (arena_init_huge(a0)) {
|
||||
narenas_total_inc();
|
||||
}
|
||||
manual_arena_base = narenas_total_get();
|
||||
|
||||
Reference in New Issue
Block a user