< prev index next >
test/gc/arguments/TestInitialTenuringThreshold.java
Print this page
*** 25,42 ****
* @test TestInitialTenuringThreshold
* @key gc
* @bug 8014765
* @requires vm.gc.Parallel
* @summary Tests argument processing for initial tenuring threshold
! * @library /testlibrary
* @modules java.base/jdk.internal.misc
* java.management
* @run main/othervm TestInitialTenuringThreshold
* @author thomas.schatzl@oracle.com
*/
! import jdk.test.lib.*;
public class TestInitialTenuringThreshold {
public static void runWithThresholds(int initial, int max, boolean shouldfail) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
--- 25,43 ----
* @test TestInitialTenuringThreshold
* @key gc
* @bug 8014765
* @requires vm.gc.Parallel
* @summary Tests argument processing for initial tenuring threshold
! * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @run main/othervm TestInitialTenuringThreshold
* @author thomas.schatzl@oracle.com
*/
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.process.ProcessTools;
public class TestInitialTenuringThreshold {
public static void runWithThresholds(int initial, int max, boolean shouldfail) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
< prev index next >