mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-13 11:10:54 +03:00
Fix xallocx(..., MALLOCX_ZERO) bugs.
Zero all trailing bytes of large allocations when
--enable-cache-oblivious configure option is enabled. This regression
was introduced by 8a03cf039c (Implement
cache index randomization for large allocations.).
Zero trailing bytes of huge allocations when resizing from/to a size
class that is not a multiple of the chunk size.
This commit is contained in:
parent
fb64ec29ec
commit
d260f442ce
4 changed files with 148 additions and 15 deletions
|
|
@ -7,6 +7,10 @@ brevity. Much more detail can be found in the git revision history:
|
|||
* 4.0.3 (XXX)
|
||||
|
||||
Bug fixes:
|
||||
- Fix xallocx(..., MALLOCX_ZERO) to zero all trailing bytes of large
|
||||
allocations when --enable-cache-oblivious configure option is enabled.
|
||||
- Fix xallocx(..., MALLOCX_ZERO) to zero trailing bytes of huge allocations
|
||||
when resizing from/to a size class that is not a multiple of the chunk size.
|
||||
- Fix prof_tctx_dump_iter() to filter out nodes that were created after heap
|
||||
profile dumping started.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue