server-skynet-source-3rd-je.../include/jemalloc/internal
David Goldblatt 79f1ee2fc0 Move junking out of arena/tcache code.
This is debug only and we keep it off the fast path.  Moving it here simplifies
the internal logic.

This never tries to junk on regions that were shrunk via xallocx.  I think this
is fine for two reasons:
- The shrunk-with-xallocx case is rare.
- We don't always do that anyway before this diff (it depends on the opt
  settings and extent hooks in effect).
2020-03-12 11:54:19 -07:00
..
arena_externs.h Move junking out of arena/tcache code. 2020-03-12 11:54:19 -07:00
arena_inlines_a.h Pull prof_accumbytes into thread event handler 2019-11-04 15:21:16 -08:00
arena_inlines_b.h Emap: Standardize naming. 2020-02-17 10:50:51 -08:00
arena_stats.h Rename extent_t to edata_t. 2019-12-20 10:18:40 -08:00
arena_structs.h Emap: Move in alloc_ctx lookup functionality. 2020-02-17 10:50:51 -08:00
arena_types.h Emap: Move in alloc_ctx lookup functionality. 2020-02-17 10:50:51 -08:00
assert.h Disentangle assert and util 2017-03-06 15:08:43 -08:00
atomic_c11.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic_gcc_atomic.h Workaround to address g++ unused variable warnings 2019-07-30 11:37:56 -07:00
atomic_gcc_sync.h Restrict lwsync to powerpc64 only 2018-10-24 11:18:55 -07:00
atomic_msvc.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic.h Detect if 8-bit atomics are available. 2019-03-09 12:52:06 -08:00
background_thread_externs.h Background thread: take base as a parameter. 2020-02-18 11:22:09 -08:00
background_thread_inlines.h Fix background thread index issues with max_background_threads. 2018-05-15 12:25:23 -07:00
background_thread_structs.h Add max_per_bg_thd stats for per background thread mutexes. 2019-09-13 09:23:57 -07:00
base_structs.h Move relevant index into the ehooks_t itself. 2019-12-20 10:18:40 -08:00
base.h Rtree: take the base allocator as a parameter. 2020-02-18 11:22:09 -08:00
bin_info.h Extents: Split out extent struct. 2019-09-23 23:06:27 -07:00
bin_stats.h Reduce footprint of bin_t. 2019-11-21 11:08:36 -08:00
bin_types.h Rename extent_t to edata_t. 2019-12-20 10:18:40 -08:00
bin.h Rename extent_t to edata_t. 2019-12-20 10:18:40 -08:00
bit_util.h Add a fastpath for arena_slab_reg_alloc_batch 2018-11-14 07:09:11 -08:00
bitmap.h Rearrange slab data and constants 2019-09-23 23:06:27 -07:00
buf_writer.h Encapsulate buffer allocation in buffered writer 2020-02-04 13:21:58 -08:00
cache_bin.h Put szind_t, pszind_t in sz.h. 2020-02-18 11:22:09 -08:00
ckh.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
counter.h Implement opt.stats_interval and the _opts options. 2020-01-29 09:57:55 -08:00
ctl.h Reduce footprint of bin_t. 2019-11-21 11:08:36 -08:00
div.h Add the div module, which allows fast division by dynamic values. 2017-12-21 14:25:43 -08:00
ecache.h Ecache: Should know its arena_ind. 2019-12-20 10:18:40 -08:00
edata_cache.h Base: Pull into a single header. 2020-02-18 11:22:09 -08:00
edata.h Last-N profiling mode 2019-12-30 15:58:57 -08:00
ehooks.h Ehooks: Fix a build warning. 2020-02-25 10:21:03 -08:00
emap.h Rtree: take the base allocator as a parameter. 2020-02-18 11:22:09 -08:00
emitter.h Implement opt.stats_interval and the _opts options. 2020-01-29 09:57:55 -08:00
eset.h Put extent_state_t into ecache as well as eset. 2019-12-20 10:18:40 -08:00
extent_dss.h Header refactoring: unify and de-catchall extent_dss. 2017-05-31 13:08:45 -07:00
extent_mmap.h Header refactoring: unify and de-catchall extent_mmap module. 2017-05-31 13:08:45 -07:00
extent.h Add emap, for tracking extent locking. 2020-02-17 10:50:51 -08:00
hash.h Fix Undefined Behavior in hash.h 2020-02-13 12:25:26 -08:00
hook.h Hooks: Protect against reentrancy. 2018-05-18 11:43:03 -07:00
inspect.h Extents: Split out introspection functionality. 2019-12-20 10:18:40 -08:00
jemalloc_internal_decls.h Tcache: Unify bin flush logic. 2020-02-25 10:21:03 -08:00
jemalloc_internal_defs.h.in Move extra size checks behind a config flag. 2019-04-15 16:48:12 -07:00
jemalloc_internal_externs.h Move junking out of arena/tcache code. 2020-03-12 11:54:19 -07:00
jemalloc_internal_includes.h Base: Pull into a single header. 2020-02-18 11:22:09 -08:00
jemalloc_internal_inlines_a.h Extent -> Ehooks: Move over default hooks. 2019-12-20 10:18:40 -08:00
jemalloc_internal_inlines_b.h Emap: Move in iealloc. 2020-02-17 10:50:51 -08:00
jemalloc_internal_inlines_c.h Emap: Standardize naming. 2020-02-17 10:50:51 -08:00
jemalloc_internal_macros.h Use __forceinline for JEMALLOC_ALWAYS_INLINE on msvc 2019-11-12 13:50:25 -08:00
jemalloc_internal_types.h Put szind_t, pszind_t in sz.h. 2020-02-18 11:22:09 -08:00
jemalloc_preamble.h.in Safety checks: Add a redzoning feature. 2019-04-15 16:48:12 -07:00
large_externs.h Move junking out of arena/tcache code. 2020-03-12 11:54:19 -07:00
log.h Logging: capitalize log macro. 2017-10-02 20:44:43 -07:00
malloc_io.h Make buffered writer an independent module 2020-01-10 11:59:02 -08:00
mutex_pool.h Header refactoring: unify and de-catchall mutex_pool. 2017-05-31 13:08:45 -07:00
mutex_prof.h Add max_per_bg_thd stats for per background thread mutexes. 2019-09-13 09:23:57 -07:00
mutex.h Add max_per_bg_thd stats for per background thread mutexes. 2019-09-13 09:23:57 -07:00
nstime.h Last-N profiling mode 2019-12-30 15:58:57 -08:00
pages.h Add opt.thp which allows explicit hugepage usage. 2018-03-08 13:08:06 -08:00
ph.h Add any() and remove_any() to ph. 2017-03-07 10:25:33 -08:00
private_namespace.sh Automatically generate private symbol name mangling macros. 2017-05-11 23:06:54 -07:00
private_symbols.sh Automatically generate private symbol name mangling macros. 2017-05-11 23:06:54 -07:00
prng.h Header refactoring: prng module - remove from the catchall and unify. 2017-04-24 10:33:21 -07:00
prof_data.h Remove _externs from prof internal header names 2019-12-23 11:14:15 -08:00
prof_externs.h Break prof and tcache knowledge of b0. 2020-02-18 11:22:09 -08:00
prof_inlines_a.h Pull prof_accumbytes into thread event handler 2019-11-04 15:21:16 -08:00
prof_inlines_b.h Emap: Standardize naming. 2020-02-17 10:50:51 -08:00
prof_log.h Remove _externs from prof internal header names 2019-12-23 11:14:15 -08:00
prof_recent.h Record request size in prof recent entries 2020-01-10 12:01:01 -08:00
prof_structs.h Chagne prof_accum_t to counter_accum_t for general purpose. 2020-01-29 09:57:55 -08:00
prof_types.h Chagne prof_accum_t to counter_accum_t for general purpose. 2020-01-29 09:57:55 -08:00
public_namespace.sh Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
public_unnamespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
ql.h Header refactoring: break out qr.h dependencies 2017-04-11 11:52:30 -07:00
qr.h Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
quantum.h Move quantum detection into its own file. 2018-07-12 20:53:06 -07:00
rb.h Header refactoring: break out rb.h dependencies 2017-04-11 11:52:30 -07:00
rtree_tsd.h Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
rtree.h Rtree: take the base allocator as a parameter. 2020-02-18 11:22:09 -08:00
safety_check.h Add safety check on sdallocx slow / sampled path. 2020-01-31 00:04:22 -08:00
sc.h Rearrange slab data and constants 2019-09-23 23:06:27 -07:00
seq.h Add the Seq module, a simple seqlock implementation. 2018-05-18 11:43:03 -07:00
slab_data.h Rearrange slab data and constants 2019-09-23 23:06:27 -07:00
smoothstep.h Cleanup smoothstep.sh / .h. 2017-05-25 16:52:10 -07:00
smoothstep.sh Cleanup smoothstep.sh / .h. 2017-05-25 16:52:10 -07:00
spin.h Power: disable the CPU_SPINWAIT macro. 2017-10-04 18:37:23 -07:00
stats.h Implement opt.stats_interval and the _opts options. 2020-01-29 09:57:55 -08:00
sz.h Put szind_t, pszind_t in sz.h. 2020-02-18 11:22:09 -08:00
tcache_externs.h Break prof and tcache knowledge of b0. 2020-02-18 11:22:09 -08:00
tcache_inlines.h Move junking out of arena/tcache code. 2020-03-12 11:54:19 -07:00
tcache_structs.h Implement deallocation events. 2020-02-04 00:18:15 -08:00
tcache_types.h Disable some spuriously-triggering warnings 2019-12-04 13:45:17 -08:00
test_hooks.h Rename hooks module to test_hooks. 2018-05-18 11:43:03 -07:00
thread_event.h Abbreviate thread-event to te. 2020-02-04 13:07:05 -08:00
ticker.h ticker: add ticker_trytick 2018-10-18 08:32:19 -07:00
tsd_generic.h Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
tsd_malloc_thread_cleanup.h Enforce TLS_MODEL attribute. 2019-04-16 11:07:15 -07:00
tsd_tls.h Enforce TLS_MODEL attribute. 2019-04-16 11:07:15 -07:00
tsd_types.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd_win.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd.h Update the tsd description. 2020-02-04 13:07:05 -08:00
util.h Emap: Remove direct access to emap internals. 2020-02-17 10:50:51 -08:00
witness.h Add emap, for tracking extent locking. 2020-02-17 10:50:51 -08:00