-
Enhancement
-
Resolution: Fixed
-
P4
-
25
-
b10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8368970 | 25.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
$ CONF=linux-x86_64-server-fastdebug make images test TEST=runtime/cds TEST_VM_OPTS="-XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational"
...because we have this condition in shenandoahHeap.cpp:
bool can_load_archived_objects() const override { return !ShenandoahCardBarrier; }
This is a safeguard from CDS loading the archive without looking back at card tables that we need for generational GC to work. But, this load happens naturally when all objects are still young, no GC have happened yet, so no card table updates are needed.
- backported by
-
JDK-8368970 Support CDS heap archive with Generational Shenandoah
-
- Resolved
-
- duplicates
-
JDK-8339182 GenShen: Support for CDS in generational mode
-
- Closed
-
- is blocked by
-
JDK-8364111 InstanceMirrorKlass iterators should handle CDS and hidden classes consistently
-
- Resolved
-
-
JDK-8364212 Shenandoah: Rework archived objects loading
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/8058a5be
-
Commit(master) openjdk/jdk/577ac061
-
Review(master) openjdk/jdk25u/248
-
Review(master) openjdk/jdk/25597