History log of /external/jemalloc/test/unit/prof_accum.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad47e8996e649ff8b4c920abb937bbacb8b9625e 25-Feb-2014 Jason Evans <jasone@canonware.com> Break prof_accum into multiple compilation units.

Break prof_accum into multiple compilation units, in order to thwart
compiler optimizations such as inlining and tail call optimization that
would alter backtraces.
/external/jemalloc/test/unit/prof_accum.c
526e4a59a2fe39e4f8bdf1ec0c0d2a5a557c3f62 29-Jan-2014 Jason Evans <je@fb.com> Prevent inlining of backtraced test functions.

Inlining of alloc_0() and alloc_1() would prevent generation of unique
backtraces, upon which the test code relies.
/external/jemalloc/test/unit/prof_accum.c
898960247a8b2e6534738b7a3a244855f379faf9 21-Jan-2014 Jason Evans <jasone@canonware.com> Subvert tail call optimization in backtrace test.

Re-structure alloc_[01](), which are mutually tail-recursive functions,
to do (unnecessary) work post-recursion so that the compiler cannot
perform tail call optimization, thus preserving intentionally unique
call paths in captured backtraces.
/external/jemalloc/test/unit/prof_accum.c
772163b4f3d8e9a12343e9215f6b070068507604 18-Jan-2014 Jason Evans <je@fb.com> Add heap profiling tests.

Fix a regression in prof_dump_ctx() due to an uninitized variable. This
was caused by revision 4f37ef693e3d5903ce07dc0b61c0da320b35e3d9, so no
releases are affected.
/external/jemalloc/test/unit/prof_accum.c