Currently only G1 can directly map archived heap objects from CDS.
It's quite challenging to provide the same level of memory mapping support in every garbage collector. Instead, it would be easier to copy the
archived objects into the runtime Java heap. Currently, with the default CDS archive we have less than 1MB of archived heap objects, and copying them will be faster than the alternative (running full module initialization).
It's quite challenging to provide the same level of memory mapping support in every garbage collector. Instead, it would be easier to copy the
archived objects into the runtime Java heap. Currently, with the default CDS archive we have less than 1MB of archived heap objects, and copying them will be faster than the alternative (running full module initialization).
- relates to
-
JDK-8293650 Shenandoah: Support archived heap objects
-
- Resolved
-
1.
|
Support archived heap objects in EpsilonGC |
|
Resolved | Ioi Lam | |
2.
|
Refactor HeapShared::is_archived_object() |
|
Resolved | Ioi Lam | |
3.
|
Update CDS tests in anticipation of JDK-8270489 |
|
Resolved | Ioi Lam | |
4.
|
Support archived heap objects in SerialGC |
|
Resolved | Ioi Lam | |
5.
|
Support archived heap objects in ParallelGC |
|
Resolved | Calvin Cheung | |
6.
|
Support archived heap objects in ZGC |
|
Closed | Erik Ă–sterlund |