commit | 94f7b49578b6aaa80de8ffed230648d601393905 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Tue Jul 22 18:08:23 2014 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Tue Jul 29 13:30:46 2014 -0700 |
tree | cfc69e453faefee38178ceb85378e1f0f1e17812 | |
parent | 8df73882c60451e7f789bf9b1f3db2d7dc228640 [diff] |
Add GcRoot to clean up and enforce read barriers. Introduce a value-type wrapper around Object* for GC roots so that 1) we won't have to directly add the read barrier code in many places and 2) we can avoid accidentally bypassing/missing read barriers on GC roots (the GcRoot interface ensures that the read barrier is executed on a read). The jdwp test passed. Bug: 12687968 Change-Id: Ib167c7c325b3c7e3900133578815f04d219972a1