OSDN Git Service

ART: Fix VISIT_OBJECTS and ABORT for FollowReferences
authorAndreas Gampe <agampe@google.com>
Thu, 30 Mar 2017 00:58:28 +0000 (17:58 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 30 Mar 2017 18:52:29 +0000 (11:52 -0700)
commitc756f08bdc8bd3ea397b85531f397b2b29cd419b
tree124dba14d198b7557eb2e1ef44e8b3568359fc4d
parent02311bd39d64b1417e8580c2a993620c2234254d
ART: Fix VISIT_OBJECTS and ABORT for FollowReferences

If a root report does not set VISIT_OBJECTS, the referree should
not be added to the worklist.

Whenever an ABORT is requested, do not report the remaining roots.

Bug: 36727422
Test: art/test.py --host -t 913
Change-Id: I942559f6ab356fe2573a3a9bb88b2662cd5b23d0
runtime/openjdkjvmti/ti_heap.cc
test/913-heaps/expected.txt
test/913-heaps/src/Main.java