Skip to content

Commit c3de94c

Browse files
tkiriyamaPaul Hohensee
authored andcommitted
8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit build
Reviewed-by: phh
1 parent 465c8e6 commit c3de94c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jdk/jdk/jfr/startupargs/TestMemoryOptions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ private static void launchTestVM(TestCase tc) throws Exception {
485485
if (flightRecorderOptions != null) {
486486
pb = ProcessTools.createTestJavaProcessBuilder("--add-exports=jdk.jfr/jdk.jfr.internal=ALL-UNNAMED",
487487
"--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
488+
"-Xmx256m",
488489
flightRecorderOptions,
489490
"-XX:StartFlightRecording",
490491
SUT.class.getName(),
@@ -493,6 +494,7 @@ private static void launchTestVM(TestCase tc) throws Exception {
493494
// default, no FlightRecorderOptions passed
494495
pb = ProcessTools.createTestJavaProcessBuilder("--add-exports=jdk.jfr/jdk.jfr.internal=ALL-UNNAMED",
495496
"--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
497+
"-Xmx256m",
496498
"-XX:StartFlightRecording",
497499
SUT.class.getName(),
498500
tc.getTestName());

0 commit comments

Comments
 (0)