mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 01:27:19 +03:00
Implement opt.cache_oblivious.
Keep config.cache_oblivious for now to remain backward-compatible.
This commit is contained in:
parent
8c5e5f50a2
commit
a11be50332
12 changed files with 53 additions and 27 deletions
|
|
@ -47,7 +47,7 @@ TEST_BEGIN(test_large_extent_size) {
|
|||
*/
|
||||
|
||||
sz = sizeof(bool);
|
||||
expect_d_eq(mallctl("config.cache_oblivious", (void *)&cache_oblivious,
|
||||
expect_d_eq(mallctl("opt.cache_oblivious", (void *)&cache_oblivious,
|
||||
&sz, NULL, 0), 0, "Unexpected mallctl failure");
|
||||
|
||||
sz = sizeof(unsigned);
|
||||
|
|
|
|||
|
|
@ -279,6 +279,7 @@ TEST_BEGIN(test_mallctl_opt) {
|
|||
|
||||
TEST_MALLCTL_OPT(bool, abort, always);
|
||||
TEST_MALLCTL_OPT(bool, abort_conf, always);
|
||||
TEST_MALLCTL_OPT(bool, cache_oblivious, always);
|
||||
TEST_MALLCTL_OPT(bool, trust_madvise, always);
|
||||
TEST_MALLCTL_OPT(bool, confirm_conf, always);
|
||||
TEST_MALLCTL_OPT(const char *, metadata_thp, always);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue