server-skynet-source-3rd-je.../test/unit
David Goldblatt 79f1ee2fc0 Move junking out of arena/tcache code.
This is debug only and we keep it off the fast path.  Moving it here simplifies
the internal logic.

This never tries to junk on regions that were shrunk via xallocx.  I think this
is fine for two reasons:
- The shrunk-with-xallocx case is rare.
- We don't always do that anyway before this diff (it depends on the opt
  settings and extent hooks in effect).
2020-03-12 11:54:19 -07:00
..
a0.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
arena_reset_prof.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
arena_reset_prof.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
arena_reset.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
atomic.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
background_thread_enable.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
background_thread.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
base.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
binshard.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
binshard.sh Add unit test for sharded bins. 2018-12-03 17:17:03 -08:00
bit_util.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
bitmap.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
buf_writer.c Make use of assert_* in test/unit/buf_writer.c 2020-02-19 16:03:16 -08:00
cache_bin.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
ckh.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
counter.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
decay.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
decay.sh Refactor *decay_time into *decay_ms. 2017-05-18 11:33:45 -07:00
div.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
emitter.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
extent_quantize.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
fork.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
hash.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
hook.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
huge.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
inspect.c Make use of assert_* in test/unit/inspect.c 2020-02-19 16:03:16 -08:00
junk_alloc.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_alloc.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_free.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_free.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk.c Move junking out of arena/tcache code. 2020-03-12 11:54:19 -07:00
junk.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
log.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
mallctl.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
malloc_io.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
math.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
mq.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
mtx.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
nstime.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
pack.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
pack.sh Refactor *decay_time into *decay_ms. 2017-05-18 11:33:45 -07:00
pages.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
ph.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prng.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_accum.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_accum.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_active.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_active.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_gdump.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_gdump.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_idump.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_idump.sh Remove --disable-tcache. 2017-04-21 10:06:12 -07:00
prof_log.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_log.sh Add unit tests for logging 2018-08-01 13:27:11 -07:00
prof_recent.c Make use of assert_* in test/unit/prof_recent.c 2020-02-19 16:03:16 -08:00
prof_recent.sh Last-N profiling mode 2019-12-30 15:58:57 -08:00
prof_reset.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_reset.sh Last-N profiling mode 2019-12-30 15:58:57 -08:00
prof_tctx.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_tctx.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_thread_name.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
prof_thread_name.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
ql.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
qr.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
rb.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
retained.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
rtree.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
safety_check.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
safety_check.sh Safety checks: Add a redzoning feature. 2019-04-15 16:48:12 -07:00
sc.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
seq.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
SFMT.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
size_classes.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
slab.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
smoothstep.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
spin.c Header refactoring: unify and de-catchall rtree module. 2017-05-31 13:08:45 -07:00
stats_print.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
stats.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
test_hooks.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
thread_event.c Correct thread event unit test 2020-03-10 09:31:55 -07:00
thread_event.sh Build a general purpose thread event handler 2019-11-04 11:15:50 -08:00
ticker.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
tsd.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
witness.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
zero_realloc_abort.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
zero_realloc_abort.sh Realloc: Make behavior of realloc(ptr, 0) configurable. 2019-10-29 17:48:44 -07:00
zero_realloc_free.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
zero_realloc_free.sh Realloc: Make behavior of realloc(ptr, 0) configurable. 2019-10-29 17:48:44 -07:00
zero_realloc_strict.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
zero_realloc_strict.sh Realloc: Make behavior of realloc(ptr, 0) configurable. 2019-10-29 17:48:44 -07:00
zero_reallocs.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
zero_reallocs.sh Add stats counters for number of zero reallocs 2019-10-29 17:48:44 -07:00
zero.c Change assert_* to expect_* in tests 2020-02-19 16:03:16 -08:00
zero.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00