Allow class space size to be larger than 3GB

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: 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.


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

              Created:
              Updated:
              Resolved: