commit | df25b47cd8a423239cdc7095f7170414814fea1f | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Apr 06 20:27:49 2018 +0100 |
committer | Roland Levillain <rpl@google.com> | Thu Apr 12 15:57:28 2018 +0100 |
tree | 7c1966debe707216c29a14ed754a0b55c5e1f8a5 | |
parent | d7d9f00b9e87e491f2fc0631ed64ad1acde9c744 [diff] |
Implement dead object poisoning in unevacuated regions. When an unevacuated region is cleared from the from-space, replace memory areas used by dead objects with a poison value, so as to catch dangling references to such objects earlier. This poisoning mechanism is only turned on in debug mode. Test: art/test.py Test: Device boot test with libartd Bug: 74064045 Change-Id: I2f89a31648d292baae09859494410f88eca21759