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

Add JVM option to set initial Metaspace size

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 8, 9
    • 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.

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

              Created:
              Updated: