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
Loading
Please sign in to comment