OSDN Git Service

Use the malloc debug heap dumper.
authorChristopher Ferris <cferris@google.com>
Wed, 13 Jun 2018 20:19:57 +0000 (13:19 -0700)
committerChristopher Ferris <cferris@google.com>
Fri, 15 Jun 2018 19:29:36 +0000 (12:29 -0700)
commitffa139e83d830ef01106ab27d0ed4a5a422bc2f7
tree8db53b92b68a5f2ce2ace93b5cf6723b4b49f54e
parentaa5d8dfeb0e12466da355fc4111ab8a089afd140
Use the malloc debug heap dumper.

Instead of having the malloc debug heap dump code live in frameworks
code, call into malloc debug to do the dump.

Test: Ran am dumpheap -n <PID> <FILE> of a process with and without
Test: malloc debug enabled.
Change-Id: I7911a3ee7dcbc79dd11003a24e27ff99c8301d43
Merged-In: I7911a3ee7dcbc79dd11003a24e27ff99c8301d43
(cherry picked from commit 38e2c3bc9c50770aa5efce47f90fbcfcdda523de)
core/jni/android_os_Debug.cpp