diff -r b4441f6cfe79 -r c2304140ed64 hotspot/test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java --- a/hotspot/test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java Tue Jul 12 08:42:46 2016 +0000 +++ b/hotspot/test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java Tue Jul 12 18:24:48 2016 +0300 @@ -29,22 +29,28 @@ * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management - * @build TestUseRTMForInflatedLocks + * @build compiler.rtm.locking.TestUseRTMForInflatedLocks * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions - * -XX:+WhiteBoxAPI TestUseRTMForInflatedLocks + * -XX:+WhiteBoxAPI compiler.rtm.locking.TestUseRTMForInflatedLocks */ +package compiler.rtm.locking; + +import compiler.testlibrary.rtm.AbortProvoker; +import compiler.testlibrary.rtm.AbortType; +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.List; -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.predicate.SupportedCPU; -import compiler.testlibrary.rtm.predicate.SupportedVM; - /** * Test verifies that RTM-based lock elision could be used for inflated locks * by calling compiled method that use RTM-based lock elision and using