Add JVM option to set initial Metaspace size

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 8, 9
    • Component/s: hotspot
    • None
    • gc
    • generic
    • generic

          In jdk8, permanent heap is replaced with metaSpace. Some of our embedded customers had been using permanent heap with fixed size during VM lifecycle, i.e -XX:PermSize's value is set as the value of -XX:MaxPermSize. One of our customers requires that jdk8 JVM should have a new JVM option to set initial Metaspace size similar to -Xms and -XX:InitialCodeCacheSize.

          The current -XX:MetaSpaceSize is just used for controlling High-Warer Mark for GC. It is not works as the old -XX:PermSize JVM option.

            Assignee:
            Unassigned
            Reporter:
            Guixin Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: