Skip to content

Commit 7ff53b5

Browse files
Taizo Kurashigejerboaa
authored andcommitted
8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit build
Reviewed-by: shade, phh Backport-of: c3de94cee12471a11c457c11dd55c547633de5cb
1 parent 1468cfa commit 7ff53b5

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
@@ -487,6 +487,7 @@ private static void launchTestVM(TestCase tc) throws Exception {
487487
if (flightRecorderOptions != null) {
488488
pb = ProcessTools.createTestJvm("--add-exports=jdk.jfr/jdk.jfr.internal=ALL-UNNAMED",
489489
"--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
490+
"-Xmx256m",
490491
flightRecorderOptions,
491492
"-XX:StartFlightRecording",
492493
SUT.class.getName(),
@@ -495,6 +496,7 @@ private static void launchTestVM(TestCase tc) throws Exception {
495496
// default, no FlightRecorderOptions passed
496497
pb = ProcessTools.createTestJvm("--add-exports=jdk.jfr/jdk.jfr.internal=ALL-UNNAMED",
497498
"--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
499+
"-Xmx256m",
498500
"-XX:StartFlightRecording",
499501
SUT.class.getName(),
500502
tc.getTestName());

0 commit comments

Comments
 (0)