< prev index next >

test/compiler/rtm/print/TestPrintPreciseRTMLockingStatistics.java

Print this page

        

*** 27,40 **** * @bug 8031320 * @summary Verify that rtm locking statistics contain proper information * on overall aborts and locks count and count of aborts of * different types. Test also verify that VM output does not * contain rtm locking statistics when it should not. ! * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * @build compiler.rtm.print.TestPrintPreciseRTMLockingStatistics * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI * compiler.rtm.print.TestPrintPreciseRTMLockingStatistics --- 27,40 ---- * @bug 8031320 * @summary Verify that rtm locking statistics contain proper information * on overall aborts and locks count and count of aborts of * different types. Test also verify that VM output does not * contain rtm locking statistics when it should not. ! * @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.print.TestPrintPreciseRTMLockingStatistics
*** 48,58 **** import compiler.testlibrary.rtm.RTMLockingStatistics; import compiler.testlibrary.rtm.RTMTestBase; import compiler.testlibrary.rtm.predicate.SupportedCPU; import compiler.testlibrary.rtm.predicate.SupportedVM; import jdk.test.lib.Asserts; ! import jdk.test.lib.OutputAnalyzer; import jdk.test.lib.cli.CommandLineOptionTest; import jdk.test.lib.cli.predicate.AndPredicate; import java.util.Collections; import java.util.LinkedList; --- 48,58 ---- import compiler.testlibrary.rtm.RTMLockingStatistics; import compiler.testlibrary.rtm.RTMTestBase; import compiler.testlibrary.rtm.predicate.SupportedCPU; import compiler.testlibrary.rtm.predicate.SupportedVM; import jdk.test.lib.Asserts; ! import jdk.test.lib.process.OutputAnalyzer; import jdk.test.lib.cli.CommandLineOptionTest; import jdk.test.lib.cli.predicate.AndPredicate; import java.util.Collections; import java.util.LinkedList;
< prev index next >