mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 08:33:38 +03:00
Refactor !opt.munmap to opt.retain.
This commit is contained in:
parent
d901a37775
commit
b9ab04a191
16 changed files with 42 additions and 43 deletions
|
|
@ -93,7 +93,7 @@ large_dalloc_maybe_junk(void *ptr, size_t size) {
|
|||
* Only bother junk filling if the extent isn't about to be
|
||||
* unmapped.
|
||||
*/
|
||||
if (!opt_munmap || (have_dss && extent_in_dss(ptr))) {
|
||||
if (opt_retain || (have_dss && extent_in_dss(ptr))) {
|
||||
large_dalloc_junk(ptr, size);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue