summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMarco Ballesio <balejs@google.com>2020-04-03 11:41:38 -0700
committerMarco Ballesio <balejs@google.com>2020-04-03 13:16:38 -0700
commitd1b29e838a7127378c68ec9b7bec224f4043e37c (patch)
tree624af1443480c17fba5be690bac543474061fe23 /tools/aapt2/java/JavaClassGenerator.cpp
parent7d00ba0dfe862c35c2cb21a858a2e18868c302d8 (diff)
freezer: disable on "am dumpheap <pid>"
heapDump() is used to collect process heaps via "am dumpheap <pid>". It is alternative to "dumpsys meminfo" and would hang if called on a frozen process. In this patch: - disable freezer before the binder transaction to collect heap data - install a man-in-the-middle callback to handle completion of collection. The new callback will invoke the original one from the client and then enable the freezer again. Change-Id: I43f501a88a7325d1bd2b3d1c6eb4a4d03b97a691 Test: am dumpheap <frozen process pid> Bug: 151225245
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions