platform_bionic/libc/malloc_debug/tests
Christopher Ferris d269fcc935 Avoid using malloc debug code after exit.
I wrote a new unit test that would fail on the old version of the
code.

On a walleye big cpu, this costs about 40ns-50ns (going from ~430ns to ~480ns).
I think this is an acceptable performance degradation.

Bug: 131867816

Test: New unit tests pass.
Change-Id: I4c0f4373fb0694bf29c3824dbb1224a8a17e211e
2019-05-07 13:16:58 -07:00
..
backtrace_fake.cpp Add support for using the new unwinder. 2018-05-24 08:44:53 -07:00
backtrace_fake.h Add support for using the new unwinder. 2018-05-24 08:44:53 -07:00
libc_fake.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
log_fake.cpp Add support for using the new unwinder. 2018-05-24 08:44:53 -07:00
log_fake.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
malloc_debug_config_tests.cpp Disable info messages by default for malloc debug. 2019-04-02 10:55:21 -07:00
malloc_debug_system_tests.cpp Avoid using malloc debug code after exit. 2019-05-07 13:16:58 -07:00
malloc_debug_unit_tests.cpp Remove gMallocLeakZygoteChild. 2019-04-16 11:22:06 -07:00