server-skynet-source-3rd-je.../include/jemalloc/internal
David Goldblatt eaed1e39be Add sized-delete size-checking functionality.
The existing checks are good at finding such issues (on tcache flush), but not
so good at pinpointing them.  Debug mode can find them, but sometimes debug mode
slows down a program so much that hard-to-hit bugs can take a long time to
crash.

This commit adds functionality to keep programs mostly on their fast paths,
while also checking every sized delete argument they get.
2020-08-05 19:34:05 -07:00
..
arena_externs.h Add zero option to arena batch allocation 2020-07-31 09:16:50 -07:00
arena_inlines_a.h Move percpu_arena_update. 2020-03-12 11:54:19 -07:00
arena_inlines_b.h PAC: Move in decay. 2020-07-09 13:41:04 -07:00
arena_stats.h Minor update to locked int 2020-05-12 08:23:15 -07:00
arena_structs.h Edata: split up different list linkage uses. 2020-07-08 13:20:59 -07: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 atomic: add atomic_load_sub_store 2020-07-09 13:41:04 -07:00
background_thread_externs.h Introduce decay module and put decay objects in PA 2020-04-10 13:12:47 -07:00
background_thread_inlines.h PAC: Move in decay. 2020-07-09 13:41:04 -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 Edata: split up different list linkage uses. 2020-07-08 13:20:59 -07:00
bit_util.h bit_util: Add fls_ functions; "find last set". 2020-07-30 15:25:23 -07:00
bitmap.h bit_util: Change ffs functions indexing. 2020-07-30 15:25:23 -07:00
buf_writer.h Unify write callback signature 2020-05-11 14:51:24 -07:00
cache_bin.h Cache bin: expose ncached_max publicly. 2020-05-16 13:34:23 -07:00
ckh.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
counter.h Migrate counter to use locked int 2020-05-12 08:23:15 -07:00
ctl.h PA->PAC: Move in stats. 2020-07-09 13:41:04 -07:00
decay.h Decay: Take current time as an argument. 2020-04-10 13:12:47 -07: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 Edata: split up different list linkage uses. 2020-07-08 13:20:59 -07:00
edata.h Edata: Reserve some space for hugepages. 2020-07-08 13:20:59 -07:00
ehooks.h Ehooks: Fix a build warning. 2020-02-25 10:21:03 -08:00
emap.h Rtree: Remove the per-field accessors. 2020-04-10 13:12:47 -07:00
emitter.h Unify write callback signature 2020-05-11 14:51:24 -07:00
eset.h Edata: split up different list linkage uses. 2020-07-08 13:20:59 -07: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 PA->PAC: Make extent.c forget about PA. 2020-07-09 13:41:04 -07:00
flat_bitmap.h FB: Add range iteration support. 2020-07-30 15:25:23 -07: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 Add sized-delete size-checking functionality. 2020-08-05 19:34:05 -07:00
jemalloc_internal_externs.h Add batch allocation API 2020-07-31 09:16:50 -07:00
jemalloc_internal_includes.h Consolidate prof inline function headers 2020-05-11 12:24:56 -07:00
jemalloc_internal_inlines_a.h Tcache: treat small and large cache bins uniformly 2020-04-14 15:20:19 -07:00
jemalloc_internal_inlines_b.h Tcache: split up fast and slow path data. 2020-04-14 15:20:19 -07: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 Unify write callback signature 2020-05-11 14:51:24 -07:00
jemalloc_preamble.h.in Add sized-delete size-checking functionality. 2020-08-05 19:34:05 -07:00
large_externs.h Move junking out of arena/tcache code. 2020-03-12 11:54:19 -07:00
lockedint.h Migrate counter to use locked int 2020-05-12 08:23:15 -07:00
log.h Logging: capitalize log macro. 2017-10-02 20:44:43 -07:00
malloc_io.h Unify write callback signature 2020-05-11 14:51:24 -07: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 High Resolution Timestamps for Profiling 2020-06-15 12:12:49 -07:00
pa.h PA->PAC: Move in PAI implementation. 2020-07-09 13:41:04 -07:00
pac.h PA->PAC: Move in PAI implementation. 2020-07-09 13:41:04 -07:00
pages.h Add opt.thp which allows explicit hugepage usage. 2018-03-08 13:08:06 -08:00
pai.h Introduce PAI: Page allocator interface 2020-07-09 13:41:04 -07:00
peak_event.h Add thread.peak.[read|reset] mallctls. 2020-06-11 13:54:22 -07:00
peak.h Add peak_t, for tracking allocator net max. 2020-06-11 13:54:22 -07: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 bit_util: Change ffs functions indexing. 2020-07-30 15:25:23 -07:00
prof_data.h No need to intercept prof_dump_header() in tests 2020-06-29 14:27:50 -07:00
prof_externs.h Prof: Add prof_unbias. 2020-08-05 18:33:55 -07:00
prof_inlines.h Add batch allocation API 2020-07-31 09:16:50 -07:00
prof_log.h Relocate a few prof utilities to the right modules 2020-06-29 14:27:50 -07:00
prof_recent.h Relocate a few prof utilities to the right modules 2020-06-29 14:27:50 -07:00
prof_structs.h Prof: Add prof_unbias. 2020-08-05 18:33:55 -07:00
prof_sys.h Move unwind to prof_sys 2020-06-29 14:27:50 -07:00
prof_types.h Reduce prof dump buffer size in debug build 2020-06-29 14:27:50 -07: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 QL, QR: Add documentation. 2020-04-11 10:32:11 -07:00
qr.h QL, QR: Add documentation. 2020-04-11 10:32:11 -07:00
quantum.h LQ_QUANTUM should be 4 on mips64 hardware. 2020-05-14 10:30:37 -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: Remove the per-field accessors. 2020-04-10 13:12:47 -07:00
safety_check.h Add safety check on sdallocx slow / sampled path. 2020-01-31 00:04:22 -08:00
sc.h SC: Name the max lookup constant. 2020-05-04 12:27:07 -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 Push event handlers to constituent modules 2020-05-12 09:16:16 -07:00
sz.h Put szind_t, pszind_t in sz.h. 2020-02-18 11:22:09 -08:00
tcache_externs.h Tcache: Make flush fractions configurable. 2020-05-16 13:34:23 -07:00
tcache_inlines.h Tcache: Make flush fractions configurable. 2020-05-16 13:34:23 -07:00
tcache_structs.h Tcache: Add tcache gc delay option. 2020-05-16 13:34:23 -07:00
tcache_types.h Tcache: Make incremental gc bytes configurable. 2020-05-16 13:34:23 -07:00
test_hooks.h Rename hooks module to test_hooks. 2018-05-18 11:43:03 -07:00
thread_event.h Add batch allocation API 2020-07-31 09:16:50 -07: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 Add thread.peak.[read|reset] mallctls. 2020-06-11 13:54:22 -07:00
typed_list.h Add empty test and concat for typed list 2020-07-31 09:16:50 -07:00
util.h Emap: Remove direct access to emap internals. 2020-02-17 10:50:51 -08:00
witness.h Witness: Make ranks an enum. 2020-06-19 18:05:08 -07:00