mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-10 15:57:24 +03:00
Implement deallocation events.
Make the event module to accept two event types, and pass around the event context. Use bytes-based events to trigger tcache GC on deallocation, and get rid of the tcache ticker.
This commit is contained in:
parent
536ea6858e
commit
97dd79db6c
9 changed files with 306 additions and 171 deletions
|
|
@ -16,9 +16,6 @@ struct tcache_s {
|
|||
* together at the start of this struct.
|
||||
*/
|
||||
|
||||
/* Drives incremental GC. */
|
||||
ticker_t gc_ticker;
|
||||
|
||||
/*
|
||||
* The pointer stacks associated with bins follow as a contiguous array.
|
||||
* During tcache initialization, the avail pointer in each element of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue