[NEWTEST] Test that VM doesn't start if -Xmx (MaxHeapSize) is less than 2m

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 9, 11
    • Component/s: hotspot
    • gc

      Required a new regression test for minimal Xmx.

      Quoting: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html

      -Xmxsize

          Specifies the maximum size (in bytes) of the memory allocation pool in bytes. This value must be a multiple of 1024 and greater than 2 MB.

      The test should check:
      - VM doesn't start if Max Heap Size < 2m
      - VM starts if Max Heap Size == 2m (the value of maxHeapSize must be >= 2m)

            Assignee:
            Unassigned
            Reporter:
            Dmitry Fazunenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: