jemalloc/src
Kevin Svetlitski 3aae792b10 Fix infinite purging loop in HPA
As reported in #2449, under certain circumstances it's possible to get
stuck in an infinite loop attempting to purge from the HPA. We now
handle this by validating the HPA settings at the end of
configuration parsing and either normalizing them or aborting depending on
if `abort_conf` is set.
2023-08-08 14:36:19 -07:00
..
arena.c Issue a warning upon directly accessing an arena's bins 2023-08-04 15:47:05 -07:00
background_thread.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
base.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
bin.c Edata: split up different list linkage uses. 2020-07-08 13:20:59 -07:00
bin_info.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
bitmap.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
buf_writer.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
cache_bin.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
ckh.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
counter.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
ctl.c Make ctl_arena_clear slightly more efficient 2023-07-31 14:44:04 -07:00
decay.c Fix remaining static analysis warnings 2023-06-23 11:50:29 -07:00
div.c Add the div module, which allows fast division by dynamic values. 2017-12-21 14:25:43 -08:00
ecache.c San: Rename 'guard' to 'san' 2021-12-15 10:39:17 -08:00
edata.c Pairing heap: inline functions instead of macros. 2021-08-02 15:02:49 -07:00
edata_cache.c edata_cache: Allow unbounded fast caching. 2021-07-26 15:14:37 -07:00
ehooks.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
emap.c San: Bump alloc frequently reused guarded allocations 2021-12-15 10:39:17 -08:00
eset.c Eset: Cache summary information for heap edatas. 2021-08-02 15:02:49 -07:00
exp_grow.c Rename geom_grow -> exp_grow. 2020-11-13 13:42:33 -08:00
extent.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
extent_dss.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
extent_mmap.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
fxp.c Add fxp: A fixed-point math library. 2020-12-04 23:48:19 -08:00
hook.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
hpa.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
hpa_hooks.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
hpdata.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
inspect.c Arena: share bin offsets in a global. 2021-02-04 14:10:43 -08:00
jemalloc.c Fix infinite purging loop in HPA 2023-08-08 14:36:19 -07:00
jemalloc_cpp.cpp Fix remaining static analysis warnings 2023-06-23 11:50:29 -07:00
large.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
log.c Logging: allow logging with empty varargs. 2017-07-22 09:38:19 -07:00
malloc_io.c Fix remaining static analysis warnings 2023-06-23 11:50:29 -07:00
mutex.c Mutex: Tweak internal spin count. 2021-08-05 14:33:16 -07:00
nstime.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
pa.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
pa_extra.c HPA: Manage whole hugepages at a time. 2020-12-07 06:21:08 -08:00
pac.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
pages.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
pai.c Pass 'frequent_reuse' hint to PAI 2021-12-15 10:39:17 -08:00
peak_event.c Add experimental.thread.activity_callback. 2020-11-05 12:33:25 -08:00
prof.c Define PROF_TCTX_SENTINEL instead of using magic numbers 2023-07-24 14:40:42 -07:00
prof_data.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
prof_log.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
prof_recent.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
prof_stats.c Track per size class internal fragmentation 2021-01-07 20:39:49 -08:00
prof_sys.c Suppress verbose frame address warnings 2023-07-24 10:44:17 -07:00
psset.c Extract the calculation of psset heap assignment for an hpdata into a common function 2023-05-31 11:44:04 -07:00
rtree.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
safety_check.c Avoid abort() in test/integration/cpp/infallible_new_true. 2022-04-25 11:29:32 -07:00
san.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
san_bump.c San: Create a function for committing and zeroing 2021-12-15 10:39:17 -08:00
sc.c Add comments and use meaningful vars in sz_psz2ind. 2022-03-24 16:56:59 -07:00
sec.c Do not disable SEC by default for 64k pages platforms 2022-03-24 22:05:35 -07:00
stats.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
sz.c Implement opt.cache_oblivious. 2021-02-11 11:32:01 -08:00
tcache.c Fix all optimization-inhibiting integer-to-pointer casts 2023-07-24 14:40:42 -07:00
test_hooks.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
thread_event.c Fix the initialization of last_event in thread event init. 2021-11-16 10:28:00 -08:00
ticker.c Add ticker_geom_t. 2021-02-04 14:10:43 -08:00
ticker.py Add ticker_geom_t. 2021-02-04 14:10:43 -08:00
tsd.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
witness.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
zone.c Fix deadlock in multithreaded fork in OS X. 2017-07-10 18:17:12 -07:00