mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-02 00:20:31 +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
|
|
@ -1800,7 +1800,7 @@ malloc_init_hard_a0_locked() {
|
|||
hpa_shard_opts_t hpa_shard_opts = opt_hpa_opts;
|
||||
hpa_shard_opts.deferral_allowed = background_thread_enabled();
|
||||
if (pa_shard_enable_hpa(TSDN_NULL, &a0->pa_shard,
|
||||
&hpa_shard_opts, &opt_hpa_sec_opts)) {
|
||||
&hpa_hooks_default, &hpa_shard_opts, &opt_hpa_sec_opts)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue