mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-05 03:34:16 +03:00
Rtree: take the base allocator as a parameter.
This facilitates better testing by avoiding mixing of the "real" base with the base used by the rtree under test.
This commit is contained in:
parent
7013716aaa
commit
a0c1f4ac57
8 changed files with 45 additions and 165 deletions
|
|
@ -1573,7 +1573,7 @@ malloc_init_hard_a0_locked() {
|
|||
return true;
|
||||
}
|
||||
/* emap_global is static, hence zeroed. */
|
||||
if (emap_init(&emap_global, /* zeroed */ true)) {
|
||||
if (emap_init(&emap_global, b0get(), /* zeroed */ true)) {
|
||||
return true;
|
||||
}
|
||||
if (extent_boot()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue