commit | 3ee25bb1df3df4f57c6a4c7d3957dd7303aa00d7 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Aug 10 10:13:02 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Aug 10 11:15:28 2015 -0700 |
tree | d96d9aa3bfabe975edb3b39419f269150506e735 | |
parent | e6b307a833d3a0ba4327004c2a286680e01eae3b [diff] |
Do read barriers on native roots in CopyClassVisitor Fixes a race condition caused by making a copy of a class then clearing the native root arrays of the original class. If the original class was gray and the new class was black then the GC would miss the native roots. Bug: 22957957 Change-Id: I706110018220af12a2ad0d72eb803f1cfe3580b9