OSDN Git Service

ART: Add precise root visiting
authorAndreas Gampe <agampe@google.com>
Fri, 2 Dec 2016 22:52:29 +0000 (14:52 -0800)
committerAndreas Gampe <agampe@google.com>
Mon, 12 Dec 2016 19:47:02 +0000 (11:47 -0800)
commit585da955bc8e5040705dcfd941b2131025ebcef8
treed22555ab3b33b446271fcbbd1676177d21d7221f
parentce29d1813914ee9a9e9b04b034968f09694dd557
ART: Add precise root visiting

Add VisitRootFlags::kVisitRootFlagPrecise to signal a
request for precise RootInfo objects.

Move VisitRootFlags to gc_root.h. Refactor VisitRoot
functions to pass flags. Add code in Thread visiting
to decode vregs in compiled code.

Bug: 31385354
Test: m test-art-host
Change-Id: I8e7280f0ab682871f729f2a1c6b18670cf2dbf82
runtime/gc_root.h
runtime/runtime.cc
runtime/runtime.h
runtime/stack.cc
runtime/stack.h
runtime/thread.cc
runtime/thread.h
runtime/thread_list.cc
runtime/thread_list.h