equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
22 */ |
22 */ |
23 |
23 |
24 /** |
24 /** |
25 * @test ConstantGettersTransitionsTest |
25 * @test ConstantGettersTransitionsTest |
26 * @summary Test the correctness of compilation level transitions for constant getters methods |
26 * @summary Test the correctness of compilation level transitions for constant getters methods |
27 * @library /testlibrary /test/lib / |
27 * @library /test/lib / |
28 * @modules java.base/jdk.internal.misc |
28 * @modules java.base/jdk.internal.misc |
29 * java.management |
29 * java.management |
30 * |
30 * |
31 * @build compiler.tiered.TransitionsTestExecutor |
31 * @build sun.hotspot.WhiteBox |
32 * compiler.tiered.ConstantGettersTransitionsTest |
32 * compiler.tiered.ConstantGettersTransitionsTest |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * @run main/othervm/timeout=240 -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
34 * @run main/othervm/timeout=240 -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
35 * -XX:+WhiteBoxAPI -XX:+TieredCompilation -XX:-UseCounterDecay |
35 * -XX:+WhiteBoxAPI -XX:+TieredCompilation -XX:-UseCounterDecay |
36 * -XX:CompileCommand=compileonly,compiler.tiered.ConstantGettersTransitionsTest$ConstantGettersTestCase$TrivialMethods::* |
36 * -XX:CompileCommand=compileonly,compiler.tiered.ConstantGettersTransitionsTest$ConstantGettersTestCase$TrivialMethods::* |