server-skynet-source-3rd-je.../test/unit
Jason Evans 57efa7bb0e Avoid atexit(3) when possible, disable prof_final by default.
atexit(3) can deadlock internally during its own initialization if
jemalloc calls atexit() during jemalloc initialization.  Mitigate the
impact by restructuring prof initialization to avoid calling atexit()
unless the registered function will actually dump a final heap profile.

Additionally, disable prof_final by default so that this land mine is
opt-in rather than opt-out.

This resolves #144.
2014-10-08 18:08:00 -07:00
..
atomic.c Add atomic operations tests and fix latent bugs. 2014-08-06 23:36:19 -07:00
bitmap.c Implement compile-time bitmap size computation. 2014-09-28 14:43:11 -07:00
ckh.c Fix tsd cleanup regressions. 2014-10-04 11:22:55 -07:00
hash.c Replace variable arrays in tests with VARIABLE_ARRAY 2014-05-27 15:10:38 -07:00
junk.c Use regular arena allocation for huge tree nodes. 2014-10-07 23:57:09 -07:00
mallctl.c Normalize size classes. 2014-10-06 01:45:13 -07:00
math.c Define INFINITY when it's not defined 2014-05-28 09:41:28 -07:00
mq.c Remove the *allocm() API, which is superceded by the *allocx() API. 2014-04-14 22:32:31 -07:00
mtx.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
prof_accum.c Refactor permuted backtrace test allocation. 2014-10-01 22:28:23 -07:00
prof_active.c Avoid atexit(3) when possible, disable prof_final by default. 2014-10-08 18:08:00 -07:00
prof_gdump.c Add heap profiling tests. 2014-01-17 15:40:52 -08:00
prof_idump.c Add heap profiling tests. 2014-01-17 15:40:52 -08:00
prof_reset.c Implement/test/fix prof-related mallctl's. 2014-10-03 23:25:30 -07:00
prof_thread_name.c Avoid atexit(3) when possible, disable prof_final by default. 2014-10-08 18:08:00 -07:00
ql.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
qr.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
quarantine.c Fix message formatting errors uncovered by p_test_fail() refactoring. 2014-03-30 11:21:09 -07:00
rb.c Convert to uniform style: cond == false --> !cond 2014-10-03 10:16:09 -07:00
rtree.c Convert all tsd variables to reside in a single tsd structure. 2014-09-23 02:36:08 -07:00
SFMT.c Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
stats.c Rename "small" local variable, because windows headers #define it 2014-05-27 15:20:31 -07:00
tsd.c Refactor/fix arenas manipulation. 2014-10-07 23:14:57 -07:00
util.c Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
zero.c Fix message formatting errors uncovered by p_test_fail() refactoring. 2014-03-30 11:21:09 -07:00