mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-16 23:51:44 +03:00
Add an explicit name to the dedicated oversize arena.
This commit is contained in:
parent
97b313c7d4
commit
b6125120ac
1 changed files with 5 additions and 0 deletions
|
|
@ -1746,6 +1746,11 @@ arena_choose_huge(tsd_t *tsd) {
|
|||
if (huge_arena == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char *huge_arena_name = "auto_oversize";
|
||||
strncpy(huge_arena->name, huge_arena_name, ARENA_NAME_LEN);
|
||||
huge_arena->name[ARENA_NAME_LEN - 1] = '\0';
|
||||
|
||||
/*
|
||||
* Purge eagerly for huge allocations, because: 1) number of
|
||||
* huge allocations is usually small, which means ticker based
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue