mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-14 00:46:21 +03:00
Remove build-time configuration 'config_limit_usize_gap'
This commit is contained in:
parent
852da1be15
commit
01e9ecbeb2
15 changed files with 160 additions and 244 deletions
|
|
@ -78,8 +78,7 @@ vsalloc(tsdn_t *tsdn, const void *ptr) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
return config_limit_usize_gap? edata_usize_get(full_alloc_ctx.edata):
|
||||
sz_index2size(full_alloc_ctx.szind);
|
||||
return edata_usize_get(full_alloc_ctx.edata);
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ TEST_BEGIN(test_mallctl_opt) {
|
|||
TEST_MALLCTL_OPT(bool, prof_sys_thread_name, prof);
|
||||
TEST_MALLCTL_OPT(ssize_t, lg_san_uaf_align, uaf_detection);
|
||||
TEST_MALLCTL_OPT(unsigned, debug_double_free_max_scan, always);
|
||||
TEST_MALLCTL_OPT(bool, limit_usize_gap, limit_usize_gap);
|
||||
TEST_MALLCTL_OPT(bool, limit_usize_gap, always);
|
||||
TEST_MALLCTL_OPT(size_t, process_madvise_max_batch, always);
|
||||
|
||||
#undef TEST_MALLCTL_OPT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue