mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-29 03:43:06 +03:00
HPA: Pull out a hooks type.
For now, this is a no-op change. In a subsequent commit, it will be useful for testing.
This commit is contained in:
parent
1d4a7666d5
commit
113938b6f4
14 changed files with 100 additions and 29 deletions
|
|
@ -42,7 +42,7 @@ create_test_data() {
|
|||
|
||||
err = hpa_shard_init(&test_data->shard, &test_data->emap,
|
||||
test_data->base, &test_data->shard_edata_cache, SHARD_IND,
|
||||
&opts);
|
||||
&hpa_hooks_default, &opts);
|
||||
assert_false(err, "");
|
||||
|
||||
return (hpa_shard_t *)test_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue