OSDN Git Service

Properly implement conservative scanning.
authorCarl Shapiro <cshapiro@google.com>
Thu, 20 May 2010 00:38:33 +0000 (17:38 -0700)
committerCarl Shapiro <cshapiro@google.com>
Thu, 20 May 2010 19:14:59 +0000 (12:14 -0700)
commit88b0035c26d6281fd6f07e35b52433c5b410ed26
treeb2df696635967595da166ed19ddf9da1ef6dd7f7
parent528f381bbecd4ee90018f5e0cb2a28388790f82f
Properly implement conservative scanning.

Even when precise GC is enabled the register map may be unavailable
and registers must be treated as ambiguous roots.  We now pin these
roots, along with native arguments, just prior to scavenging.

Change-Id: Ifbd799a34385a87960af28174128e2220e599c73
vm/alloc/Copying.c