summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/main.jpp
diff options
context:
space:
mode:
authorneo.chae <neo.chae@lge.com>2016-11-08 08:40:46 +0900
committerMathieu Chartier <mathieuc@google.com>2017-01-05 23:21:20 +0000
commit40d4c7636e51f910b2c9ef226b7183e6ccc9ab4b (patch)
tree87c034b7e3ed9d9b3e9d7cacd58b0e1c551d5891 /test/ProfileTestMultiDex/main.jpp
parenta03ed246f3ddedaa97457f940d2e4574e418b544 (diff)
Add visiting for class loaders in StickyMarkSweep
StickyMarkSweep clear the mark stack, Because all reachable objects must be referenced by a root or a dirty card. But, there are some marking hole for class object. If some object is marked and the object and it's class object is not dirty, Then class object cannot be marking by card table. In previous OS including mashmellow, Class table was maintaned by class linker and all class object was marked with kVisitRootFlagAllRoots flag. In N OS, Class object is not marked with kVisitRootFlagAllRoots. So, I added new flag to mark class object and using it StickyMarkSweep. Added regression test in 141-class-unload. Test: test-art-host Merged-In: I57599e6db53b260f4c5ef466b63962141b8da5c3 (cherry picked from commit a2d1b28599e38ee0180f0f7130a879eac5be9dec) Bug: 33924225 Change-Id: I57599e6db53b260f4c5ef466b63962141b8da5c3 Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions