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

Allow class space size to be larger than 3GB

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • hotspot
    • b26

      At the moment, Class space size is capped at 3GB. Technically, the Klass encoding range is 4GB.

      We cap class space at 3GB to leave breathing room for CDS. However, CDS needs a lot less. So we waste address space. In addition to that, the class space is capped at 3GB even if we run without CDS.

      What we should do instead:
      - if CDS is off, use the full 4GB
      - if CDS is on, use as much memory as the archive size permits.


            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: