RFR: 8319376: ParallelGC: Forwarded objects found during heap inspection [v3]
Thomas Schatzl
tschatzl at openjdk.org
Tue Nov 7 10:52:35 UTC 2023
On Mon, 6 Nov 2023 19:46:07 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> I'm curious (and puzzled), though. How would this situation normally have been repaired without this explicit header-resetting code? Would the failed-promotion slide directly into full-GC which repairs it? OTOH, I don't even see code in paralle mark-compact which would explicitely repair forwardings.
After full gc the from/to/survivor spaces should be reset to have their tops point to bottom. Maybe this is not done for all of its space, e.g. only for eden and to-space.
At least I could not find anything related at a quick glance.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16494#issuecomment-1798264144
More information about the serviceability-dev
mailing list