mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 01:27:19 +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
|
|
@ -251,7 +251,7 @@ TEST_BEGIN(test_arena_destroy_hooks_default) {
|
|||
TEST_END
|
||||
|
||||
/*
|
||||
* Actually unmap extents, regardless of opt_munmap, so that attempts to access
|
||||
* Actually unmap extents, regardless of opt_retain, so that attempts to access
|
||||
* a destroyed arena's memory will segfault.
|
||||
*/
|
||||
static bool
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ TEST_BEGIN(test_mallctl_opt) {
|
|||
} while (0)
|
||||
|
||||
TEST_MALLCTL_OPT(bool, abort, always);
|
||||
TEST_MALLCTL_OPT(bool, munmap, always);
|
||||
TEST_MALLCTL_OPT(bool, retain, always);
|
||||
TEST_MALLCTL_OPT(const char *, dss, always);
|
||||
TEST_MALLCTL_OPT(unsigned, narenas, always);
|
||||
TEST_MALLCTL_OPT(const char *, percpu_arena, always);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue