summaryrefslogtreecommitdiff
path: root/test/MultiDex
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-03-31 11:18:41 -0700
committerMathieu Chartier <mathieuc@google.com>2017-04-25 15:56:47 -0700
commit996f75eede1a6c6a5f2e63e96b5de2e7e309c7e1 (patch)
treee90293c8a7d16f1f43b44e2ba14e5e4edd34bafe /test/MultiDex
parent6b90142986f76436503bcdca37ace6537ba8f0d4 (diff)
Improve accounting of native roots in hprof
Native roots from VisitReferences are not real roots, they are actually references held live by the object. Instead of reporting these as roots in hprof, report them as objects in a runtimeInternalObjects field containing an object array. Also added runtimeInternalObjects to dex caches. Changed non-app image and zygote space objects to be roots since this is how the GC treats them. These changes make it easier to debug class unloading since you can more easily see the path to root keeping a dex cache or classloader live. Bug: 36457259 Bug: 22720414 Test: test/run-test --host 130 Test: take hprof dump and look at a class loader Change-Id: I089b2aed6831043160f0657a46cf71087d1cdbb6
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions