summaryrefslogtreecommitdiff
path: root/linker/linker_block_allocator_test.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-02-08 17:30:58 -0800
committerChristopher Ferris <cferris@google.com>2019-02-12 14:19:07 -0800
commite4cdbc47549680db6ada24fdb6a22e68409d578a (patch)
treecb1f89abc61a2272aa30d0b8e0dcd2b4738f3562 /linker/linker_block_allocator_test.cpp
parentc682e3b6e5549aea7be655f81bf22a4431c9c955 (diff)
Refactor malloc common into distinct pieces.
The pieces: - The malloc common shared by static and dynamic code (malloc_common.cpp). - The code for shared libraries that includes any dlopen'ing (malloc_common_dynamic.cpp). - The implementation of perfetto's heapprofd (malloc_heapprofd.cpp). This makes it easier to see what's going on in the many different areas. It should also make it easier to add the allocation capping option. Other related changes: - Update the unit tests for android_mallopt. All of the current options don't work on static binaries, so make sure that is reflected in the test. - A few names changes to make sure that all code is consistent. Test: Ran tests (malloc hooks/malloc debug/perfetto/bionic unit tests). Change-Id: I0893bfbc0f83d82506fac5d1f37cf92fbdef6f59
Diffstat (limited to 'linker/linker_block_allocator_test.cpp')
0 files changed, 0 insertions, 0 deletions