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

Incorrect NewSize when MaxHeapSize is small

XMLWordPrintable

    • gc

      `java -XX:+UseSerialGC -XX:NewSize=3m -Xmx4m -XX:+PrintFlagsFinal --version | grep NewSize` shows NewSize is ~1.5m

      If the MaxHeapSize is increased to e.g. 10m, the problem goes away.

      The same issue exists for ParallelGC as well.

            Unassigned Unassigned
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: