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

test/java/math/BigInteger/ExtremeShiftingTests.java needs @run tag to specify heap size

XMLWordPrintable

    • b117
    • Verified


        When running the tests with concurrency enabled (ie: pool of agent VMs) then it is often necessary to limit the heap of the agent VMs to avoid swapping when the number of concurrent VMs is high. A typical execution would be -vmoption:-Xmx256, ie: 256MB heap.

        This new test seems to require up to 512MB (otherwise it fails with OOME) and it would be useful if the @run tag could be adjusted to "@run main/othervm -Xmx512m ExtremeShiftingTests" so that it runs its in own VM with a 512MB heap.

              bpb Brian Burkhalter
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: