mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Enforce page alignment for sampled allocations.
This allows sampled allocations to be checked through alignment, therefore enable sized deallocation regardless of cache_oblivious.
This commit is contained in:
parent
0f552ed673
commit
88d9eca848
3 changed files with 62 additions and 39 deletions
|
|
@ -59,8 +59,8 @@ test_extent_body(unsigned arena_ind) {
|
|||
assert_true(called_decommit, "Expected decommit call");
|
||||
assert_true(did_purge_lazy || did_purge_forced,
|
||||
"Expected purge");
|
||||
assert_true(called_split, "Expected split call");
|
||||
}
|
||||
assert_true(called_split, "Expected split call");
|
||||
dallocx(p, flags);
|
||||
try_dalloc = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue