server-skynet-source-3rd-je.../test
Yinan Zhang b55419f9b9 Restructure profiling
Develop new data structure and code logic for holding profiling
related information stored in the extent that may be needed after the
extent is released, which in particular is the case for the
reallocation code path (e.g. in `rallocx()` and `xallocx()`).  The
data structure is a generalization of `prof_tctx_t`: we previously
only copy out the `prof_tctx` before the extent is released, but we
may be in need of additional fields. Currently the only additional
field is the allocation time field, but there may be more fields in
the future.

The restructuring also resolved a bug: `prof_realloc()` mistakenly
passed the new `ptr` to `prof_free_sampled_object()`, but passing in
the `old_ptr` would crash because it's already been released.  Now
the essential profiling information is collectively copied out early
and safely passed to `prof_free_sampled_object()` after the extent is
released.
2019-11-22 16:31:56 -08:00
..
include/test Workaround the stringop-overflow check false positives. 2019-09-09 11:35:04 -07:00
integration Fix posix_memalign with input size 0. 2019-07-18 00:43:23 -07:00
src Workaround the stringop-overflow check false positives. 2019-09-09 11:35:04 -07:00
stress Add hook microbenchmark. 2018-08-09 13:16:54 -07:00
unit Restructure profiling 2019-11-22 16:31:56 -08:00
test.sh.in Output MALLOC_CONF and debug cmd when test failure happens. 2017-04-21 22:52:02 -07:00