mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-05 19:27:32 +03:00
Extent -> Ehooks: Move purge_lazy hook.
This commit is contained in:
parent
f83fdf5336
commit
368baa42ef
4 changed files with 41 additions and 37 deletions
|
|
@ -90,7 +90,8 @@ base_unmap(tsdn_t *tsdn, ehooks_t *ehooks, unsigned ind, void *addr,
|
|||
if (!ehooks_purge_forced(ehooks, addr, size, 0, size, ind)) {
|
||||
goto label_post_reentrancy;
|
||||
}
|
||||
if (!ehooks_purge_lazy(ehooks, addr, size, 0, size, ind)) {
|
||||
if (!ehooks_purge_lazy(tsdn, ehooks, addr, size, 0, size,
|
||||
ind)) {
|
||||
goto label_post_reentrancy;
|
||||
}
|
||||
/* Nothing worked. That's the application's problem. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue