commit | 1ceeecfba255bb09f131a5b5b55cbe6da424e9c8 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Feb 27 16:37:21 2017 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Feb 28 10:08:04 2017 -0800 |
tree | 1b70494eaf1c1dba56af1cd7d9bc6dea440d3bbe | |
parent | 977c5104711c8730a22b17424e64de43d9c7ebdd [diff] |
Avoid visiting dead large objects in RegionSpace::Walk The motivation is to prevent large objects from being visited by RegionSpace::Walk if it is called before the next GC's SetFromSpace marks the large object as from-space. This fixes possible dangling pointer issues. A follow up CL will clear the empty unevac regions. Bug: 35800768 Bug: 12687968 Test: test-art-host Change-Id: I6323959f0b7b2a357e6d6483cd1c33fb63c3d54a