Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8308854

G1 archive region allocation may expand/shrink the heap above/below -Xms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 21
    • hotspot
    • gc

      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.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: