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

[TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15

      Backports

        Description

        If you run this test with jtreg option -vmoption:-Xmx512m (or any value < 8g) then it will fail with:

        STATUS:Failed.`main' threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 1

        LingeredAppWithLargeArray needs an -Xmx8g argument but this can be overriden by the -Xmx option passed to jtreg, as the default VM arguments are added after the explicit ones when creating the subprocess. It would work fine if they were added in the other order.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ngasson Nick Gasson
                Reporter:
                ngasson Nick Gasson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: