Currently, the full-GC modes of Serial, Shenandoah and G1 GCs are forwarding objects by over-writing the object header with the new object location. Unfortunately, for compact object headers (JDK-8294992) this would not work, because the crucial class information is also stored in the header, and we could no longer iterate over objects until the headers would be restored. Also, the preserved-headers tables would grow quite large. I propose to add an alternative forwarding mechanism using a forwarding table that would be used for compact object headers.
- relates to
-
JDK-8315046 [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding
- Resolved
-
JDK-8305895 Implement JEP 450: Compact Object Headers (Experimental)
- Resolved
- links to
-
Review openjdk/jdk/13582
-
Review(pr/20603) openjdk/jdk/20605