diff options
author | Roland Levillain <rpl@google.com> | 2018-01-11 18:15:41 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2018-08-15 19:57:16 +0100 |
commit | 91ab8db448065e1ed556f034652fcd87f7e81d71 (patch) | |
tree | da733e9c5508b1760feb475e9947a581b440d7db /compiler/optimizing/codegen_test_utils.h | |
parent | 8d1a996144cbb005892f34788fb2b248abd17571 (diff) |
Have ZeroLiveBytesForLargeObject process all the regions of a large object.
When executing `RegionSpace::ZeroLiveBytesForLargeObject(obj)`, in
addition to zero-ing the live bytes count of the large region starting
at address `obj`, also zero the live bytes count of the associated
large tail regions.
This addresses an issue with Sticky-Bit (Generational) CC collection,
where an assertion in RegionSpace::ClearFromSpace could fail when
processing a large unevac from-space region whose allocated bytes were
all live.
Test: ART run-tests & gtests, libcore tests, JDWP tests (host & device)
Test: Device/emulator boot test
Bug: 67628039
Bug: 12687968
Change-Id: I66379803adc05f6e090833e4e698a4b749fcaff0
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions