On Mon, 6 Nov 2023 19:46:07 GMT, Roman Kennke <rken...@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

Reply via email to