When loading archive regions in G1, it always uses the regions at highest addresses for CDS archives, committing regions as needed.
Since the Java heap is allocated from lowest to highest, this results in more memory than -Xms used by G1.
This is day one behavior, not sure if that has been intended, so starting off with an RFE.
Since the Java heap is allocated from lowest to highest, this results in more memory than -Xms used by G1.
This is day one behavior, not sure if that has been intended, so starting off with an RFE.
- relates to
-
JDK-8326035 Ahead-of-Time GC Agnostic Object Archiving
- Submitted
-
JDK-8232722 G1 archive region deallocation may shrink the heap below -Xms
- Closed
-
JDK-8309117 G1: Failure to allocate all regions for a CDS archive will leave heap regions as committed/free
- Open