< prev index next >
test/compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java
Print this page
*** 24,37 ****
/**
* @test
* @bug 8031320
* @summary Verify that on low abort ratio method will be recompiled.
! * @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! * @build compiler.rtm.locking.TestRTMDeoptOnLowAbortRatio
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.locking.TestRTMDeoptOnLowAbortRatio
--- 24,37 ----
/**
* @test
* @bug 8031320
* @summary Verify that on low abort ratio method will be recompiled.
! * @library /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! * @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.locking.TestRTMDeoptOnLowAbortRatio
*** 45,55 ****
import compiler.testlibrary.rtm.RTMTestBase;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
import jdk.internal.misc.Unsafe;
import jdk.test.lib.Asserts;
! import jdk.test.lib.OutputAnalyzer;
import jdk.test.lib.Utils;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
import java.util.List;
--- 45,55 ----
import compiler.testlibrary.rtm.RTMTestBase;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
import jdk.internal.misc.Unsafe;
import jdk.test.lib.Asserts;
! import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.Utils;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
import java.util.List;
< prev index next >