mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Avoid arena->offset_state when tsd not available for prng.
Use stack locals and remove the offset_state in arena.
This commit is contained in:
parent
d01b425e5d
commit
19a51abf33
3 changed files with 2 additions and 22 deletions
|
|
@ -118,14 +118,6 @@ struct arena_s {
|
|||
/* Synchronization: internal. */
|
||||
prof_accum_t prof_accum;
|
||||
|
||||
/*
|
||||
* PRNG state for cache index randomization of large allocation base
|
||||
* pointers.
|
||||
*
|
||||
* Synchronization: atomic.
|
||||
*/
|
||||
atomic_zu_t offset_state;
|
||||
|
||||
/*
|
||||
* Extent serial number generator state.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue