< prev index next >

test/jdk/jdk/jfr/api/consumer/streaming/TestProcess.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2019, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -64,11 +64,11 @@
                  "java.base/jdk.internal.misc=ALL-UNNAMED",
                  "-XX:StartFlightRecording:settings=none",
                  "-XX:" + (createCore ? "+" : "-") + "CreateCoredumpOnCrash",
                  TestProcess.class.getName(), path.toString()
              };
-         ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(args);
+         ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(args);
          process = ProcessTools.startProcess(name, pb);
      }
  
      public static void main(String... args) throws Exception {
          for (int i = 0; i < NUMBER_OF_EVENTS; i++) {
< prev index next >