File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
test/jdk/jdk/jfr/startupargs Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments