< prev index next >
test/compiler/rtm/locking/TestRTMTotalCountIncrRate.java
Print this page
@@ -28,26 +28,34 @@
* @summary Verify that RTMTotalCountIncrRate option affects
* RTM locking statistics.
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
- * @build TestRTMTotalCountIncrRate
+ * @build compiler.rtm.locking.TestRTMTotalCountIncrRate
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
- * -XX:+WhiteBoxAPI TestRTMTotalCountIncrRate
+ * -XX:+WhiteBoxAPI
+ * compiler.rtm.locking.TestRTMTotalCountIncrRate
*/
-import jdk.internal.misc.Unsafe;
-import java.util.List;
+package compiler.rtm.locking;
-import jdk.test.lib.*;
-import jdk.test.lib.cli.CommandLineOptionTest;
-import jdk.test.lib.cli.predicate.AndPredicate;
-import compiler.testlibrary.rtm.*;
+import compiler.testlibrary.rtm.AbortProvoker;
+import compiler.testlibrary.rtm.CompilableTest;
+import compiler.testlibrary.rtm.RTMLockingStatistics;
+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;
/**
* Test verifies that with RTMTotalCountIncrRate=1 RTM locking statistics
* contains precise information abort attempted locks and that with other values
* statistics contains information abort non-zero locking attempts.
< prev index next >