mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 05:33:06 +00:00
Define general purpose tsd_thread_event_init()
This commit is contained in:
@@ -233,9 +233,7 @@ tsd_data_init(tsd_t *tsd) {
|
||||
*tsd_offset_statep_get(tsd) = config_debug ? 0 :
|
||||
(uint64_t)(uintptr_t)tsd;
|
||||
|
||||
if (TCACHE_GC_INCR_BYTES > 0) {
|
||||
thread_tcache_gc_event_update(tsd, TCACHE_GC_INCR_BYTES);
|
||||
}
|
||||
tsd_thread_event_init(tsd);
|
||||
|
||||
return tsd_tcache_enabled_data_init(tsd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user