hotspot/test/compiler/tiered/LevelTransitionTest.java
changeset 39438 206a712f8f16
parent 38033 996ce936543f
child 40059 c2304140ed64
--- a/hotspot/test/compiler/tiered/LevelTransitionTest.java	Wed Jun 22 21:24:07 2016 +0300
+++ b/hotspot/test/compiler/tiered/LevelTransitionTest.java	Wed Jun 22 00:29:32 2016 +0300
@@ -21,6 +21,22 @@
  * questions.
  */
 
+/**
+ * @test LevelTransitionTest
+ * @library /testlibrary /test/lib /
+ * @modules java.base/jdk.internal.misc
+ *          java.management
+ * @ignore 8067651
+ * @build TransitionsTestExecutor LevelTransitionTest
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
+ * @run main/othervm/timeout=240 -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
+ *                   -XX:+WhiteBoxAPI -XX:+TieredCompilation
+ *                   -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::*
+ *                   -XX:CompileCommand=compileonly,ExtendedTestCase$CompileMethodHolder::*
+ *                   TransitionsTestExecutor LevelTransitionTest
+ * @summary Test the correctness of compilation level transitions for different methods
+ */
+
 import java.lang.reflect.Executable;
 import java.lang.reflect.Method;
 import java.util.Objects;
@@ -28,21 +44,6 @@
 import compiler.whitebox.CompilerWhiteBoxTest;
 import compiler.whitebox.SimpleTestCase;
 
-/**
- * @test LevelTransitionTest
- * @library /testlibrary /test/lib /compiler/whitebox /
- * @modules java.base/jdk.internal.misc
- *          java.management
- * @ignore 8067651
- * @build TransitionsTestExecutor LevelTransitionTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
- * @run main/othervm/timeout=240 -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
- *                   -XX:+WhiteBoxAPI -XX:+TieredCompilation
- *                   -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::*
- *                   -XX:CompileCommand=compileonly,ExtendedTestCase$CompileMethodHolder::*
- *                   TransitionsTestExecutor LevelTransitionTest
- * @summary Test the correctness of compilation level transitions for different methods
- */
 public class LevelTransitionTest extends TieredLevelsTest {
     /** Shows if method was profiled by being executed on levels 2 or 3 */
     protected boolean isMethodProfiled;