server-skynet-source-3rd-je.../src
Qi Wang ce0b7ab6c8 Inline the storage for thread name in prof_tdata_t.
The previous approach managed the thread name in a separate buffer, which causes
races because the thread name update (triggered by new samples) can happen at
the same time as prof dumping (which reads the thread names) -- these two
operations are under separate locks to avoid blocking each other.  Implemented
the thread name storage as part of the tdata struct, which resolves the lifetime
issue and also avoids internal alloc / dalloc during prof_sample.
2023-04-05 10:03:12 -07:00
..
arena.c Add an explicit name to the dedicated oversize arena. 2023-02-17 13:31:09 -08:00
background_thread.c fix build for non linux/BSD platforms. 2022-10-03 10:42:09 -07:00
base.c Fix base_ehooks_get_for_metadata 2021-12-20 15:37:53 -08: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 Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
decay.c Wake up background threads on demand 2021-09-17 16:56:41 -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 Implement guard pages. 2021-09-26 16:30:15 -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 Mark head state during dss alloc. 2021-03-12 19:17:25 -08:00
extent_mmap.c Remove beginning define in source files 2020-06-19 12:15:44 -07:00
extent.c Fix the extent state checking on the merge error path. 2022-01-11 16:58:47 -08:00
fxp.c Add fxp: A fixed-point math library. 2020-12-04 23:48:19 -08:00
hook.c TSD: Move in some of the tcache fields. 2020-04-14 15:20:19 -07:00
hpa_hooks.c Fix the time-since computation in HPA. 2021-12-21 23:37:22 -08:00
hpa.c Remove unused mutex from hpa_central 2023-03-10 11:25:47 -08: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 Inline free and sdallocx into operator delete 2022-11-21 11:14:05 -08:00
jemalloc.c Inline free and sdallocx into operator delete 2022-11-21 11:14:05 -08: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 Add JEMALLOC_COLD, and mark some functions cold. 2021-01-04 14:55:49 -08:00
mutex.c Mutex: Tweak internal spin count. 2021-08-05 14:33:16 -07:00
nstime.c Add nstime_ns_since which obtains the duration since the input time. 2021-12-21 23:37:22 -08:00
pa_extra.c HPA: Manage whole hugepages at a time. 2020-12-07 06:21:08 -08:00
pa.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
pac.c Fix shadowed variable usage. 2021-12-23 10:55:08 -08:00
pages.c New configure option '--enable-pageid' for Linux 2022-06-09 18:54:08 -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 Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
prof_log.c Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
prof_recent.c Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
prof_stats.c Track per size class internal fragmentation 2021-01-07 20:39:49 -08:00
prof_sys.c Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
prof.c Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
psset.c psset: Purge empty slabs first. 2021-07-12 17:59:18 -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 Add a header in HPA stats for the nonfull slabs. 2023-02-17 13:31:27 -08: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 Rename hooks module to test_hooks. 2018-05-18 11:43:03 -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 Enable fast thread locals for dealloc-only threads. 2022-10-25 09:54:38 -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