mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-06 10:26:18 +03:00
Embed root node into rtree_t.
This avoids one atomic operation per tree access.
This commit is contained in:
parent
99d68445ef
commit
ce41ab0c57
5 changed files with 86 additions and 140 deletions
|
|
@ -1658,7 +1658,7 @@ extent_merge_wrapper(tsdn_t *tsdn, arena_t *arena,
|
|||
|
||||
bool
|
||||
extent_boot(void) {
|
||||
if (rtree_new(&extents_rtree)) {
|
||||
if (rtree_new(&extents_rtree, true)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue