mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-05 18:06:14 +03:00
Tcache: split up fast and slow path data.
This commit is contained in:
parent
7099c66205
commit
a13fbad374
12 changed files with 156 additions and 103 deletions
|
|
@ -50,7 +50,8 @@ tcache_gc_event(tsd_t *tsd) {
|
|||
assert(TCACHE_GC_INCR_BYTES > 0);
|
||||
tcache_t *tcache = tcache_get(tsd);
|
||||
if (tcache != NULL) {
|
||||
tcache_event_hard(tsd, tcache);
|
||||
tcache_slow_t *tcache_slow = tsd_tcache_slowp_get(tsd);
|
||||
tcache_event_hard(tsd, tcache_slow, tcache);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue