mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 09:07:18 +03:00
Extent -> Ehooks: Move over default hooks.
This commit is contained in:
parent
2fe5108263
commit
c8dae890c8
8 changed files with 43 additions and 38 deletions
|
|
@ -31,7 +31,8 @@ TEST_BEGIN(test_base_hooks_default) {
|
|||
size_t allocated0, allocated1, resident, mapped, n_thp;
|
||||
|
||||
tsdn_t *tsdn = tsd_tsdn(tsd_fetch());
|
||||
base = base_new(tsdn, 0, (extent_hooks_t *)&extent_hooks_default);
|
||||
base = base_new(tsdn, 0,
|
||||
(extent_hooks_t *)&ehooks_default_extent_hooks);
|
||||
|
||||
if (config_stats) {
|
||||
base_stats_get(tsdn, base, &allocated0, &resident, &mapped,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue