mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 09:37:22 +03:00
Make one call to prof_active_get_unlocked() per allocation event.
Make one call to prof_active_get_unlocked() per allocation event, and use the result throughout the relevant functions that handle an allocation event. Also add a missing check in prof_realloc(). These fixes protect allocation events against concurrent prof_active changes.
This commit is contained in:
parent
ef363de701
commit
cec0d63d8b
3 changed files with 33 additions and 18 deletions
|
|
@ -29,6 +29,10 @@ brevity. Much more detail can be found in the git revision history:
|
|||
- Fix xallocx() bugs related to the 'extra' parameter when specified as
|
||||
non-zero.
|
||||
- Fix irealloc_prof() to prof_alloc_rollback() on OOM.
|
||||
- Make one call to prof_active_get_unlocked() per allocation event, and use
|
||||
the result throughout the relevant functions that handle an allocation
|
||||
event. Also add a missing check in prof_realloc(). These fixes protect
|
||||
allocation events against concurrent prof_active changes.
|
||||
|
||||
* 4.0.0 (August 17, 2015)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue