server-skynet-source-3rd-je.../src
Kevin Svetlitski 589c63b424 Make eligible global variables static and/or const
For better or worse, Jemalloc has a significant number of global
variables. Making all eligible global variables `static` and/or `const`
at least makes it slightly easier to reason about them, as these
qualifications communicate to the programmer restrictions on their use
without having to `grep` the whole codebase.
2023-07-06 14:15:12 -07:00
..
arena.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
background_thread.c Fix remaining static analysis warnings 2023-06-23 11:50:29 -07:00
base.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
bin_info.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
bin.c Edata: split up different list linkage uses. 2020-07-08 13:20:59 -07: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 Refactor the remote / cross thread cache bin stats reading 2022-09-06 19:41:19 -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 Fix remaining static analysis warnings 2023-06-23 11:50:29 -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_cache.c edata_cache: Allow unbounded fast caching. 2021-07-26 15:14:37 -07:00
edata.c Pairing heap: inline functions instead of macros. 2021-08-02 15:02:49 -07:00
ehooks.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -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_dss.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
extent_mmap.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
extent.c Avoid eager purging on the dedicated oversize arena when using bg thds. 2023-06-27 11:57:41 -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_hooks.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
hpa.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
hpdata.c Pairing heap: inline functions instead of macros. 2021-08-02 15:02:49 -07:00
inspect.c Arena: share bin offsets in a global. 2021-02-04 14:10:43 -08:00
jemalloc_cpp.cpp Fix remaining static analysis warnings 2023-06-23 11:50:29 -07:00
jemalloc.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
large.c Initialize deferred_work_generated 2021-10-07 11:50:38 -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_extra.c HPA: Manage whole hugepages at a time. 2020-12-07 06:21:08 -08:00
pa.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
pac.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
pages.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -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_data.c Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -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 Make eligible global variables static and/or const 2023-07-06 14:15:12 -07:00
prof.c Make eligible global variables static and/or const 2023-07-06 14:15:12 -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_bump.c San: Create a function for committing and zeroing 2021-12-15 10:39:17 -08:00
san.c Implement use-after-free detection using junk and stash. 2021-12-29 14:44:43 -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 two conversion warnings in tcache. 2022-01-04 13:55:06 -08: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