| 28 | } |
| 29 | |
| 30 | JEMALLOC_ALWAYS_INLINE void |
| 31 | tcache_event(tsd_t *tsd, tcache_t *tcache) { |
| 32 | if (TCACHE_GC_INCR == 0) { |
| 33 | return; |
| 34 | } |
| 35 | |
| 36 | if (unlikely(ticker_tick(&tcache->gc_ticker))) { |
| 37 | tcache_event_hard(tsd, tcache); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | JEMALLOC_ALWAYS_INLINE void * |
| 42 | tcache_alloc_small(tsd_t *tsd, arena_t *arena, tcache_t *tcache, |
no test coverage detected