Details
-
Bug
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
11, 12, 13
-
b15
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8222590 | 12u-cpu | Nick Gasson | P4 | Resolved | Fixed | master |
JDK-8221914 | 12.0.2 | Nick Gasson | P4 | Resolved | Fixed | b03 |
JDK-8221912 | 11.0.4 | Nick Gasson | P4 | Resolved | Fixed | b01 |
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.
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
- backported by
-
JDK-8221912 [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
-
- Resolved
-
-
JDK-8221914 [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
-
- Resolved
-
-
JDK-8222590 [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
-
- Resolved
-