summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Hiroshi Yamauchi <yamauchi@google.com> 2014-05-15 21:43:59 -0700
committer Hiroshi Yamauchi <yamauchi@google.com> 2014-05-16 13:37:45 -0700
commit92d1a666534aa98b173bb33dc5dba86b2d48aedb (patch)
tree864887bc5e1220152998874d3be861b31a49b0fa /compiler/driver/compiler_driver.cc
parent3b2bcbf9daf39f4cece7fde1186f3fa494000ed9 (diff)
Visit methods in stack frames during root visits.
This is necessary for a Baker-style read barrier to-space invariant to hold. That is, an object either needs to be marked/forwarded as root or it must be accessed only through a read barrier by mutators. Since stack frames have direct pointers to methods that a mutator can access without a read barrier, stack frame methods have to be visited as root, which makes sense as stack frames are thread roots. This is the case even if methods do not move as they have to be marked 'gray' for the objects pointed to by them, which can move, to be recursively marked/forwarded. This also puts us in the right direction toward moving methods (and fields) in the future. Bug: 12687968 Change-Id: Id32b913c021a140073deea9149a8782e8f308303
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
0 files changed, 0 insertions, 0 deletions