Extent -> Ehooks: Move over default hooks.

This commit is contained in:
David Goldblatt
2019-12-03 14:23:40 -08:00
committed by David Goldblatt
parent 2fe5108263
commit c8dae890c8
8 changed files with 43 additions and 38 deletions

View File

@@ -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,