12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * These tests are explicitly testing the profiling behavior of the
26 * interpreter. C1-based profiling differs slightly and when -Xcomp
27 * is present, profiles will be created by C1 compiled code, not the
28 * interpreter.
29 *
30 * @test
31 * @requires vm.jvmci
32 * @requires vm.compMode != "Xcomp"
33 * @requires vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel > 1
34 * @modules jdk.internal.vm.ci/jdk.vm.ci.meta
35 * jdk.internal.vm.ci/jdk.vm.ci.runtime
36 * @run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:-UseJVMCICompiler -Xbootclasspath/a:. compiler.jvmci.meta.ProfilingInfoTest
37 */
38 package compiler.jvmci.meta;
39
40 import java.io.Serializable;
41 import java.lang.reflect.Constructor;
42 import java.lang.reflect.Executable;
43 import java.lang.reflect.InvocationTargetException;
44 import java.lang.reflect.Method;
45
46 import org.junit.Assert;
47 import org.junit.Assume;
48 import org.junit.Test;
49
50 import jdk.vm.ci.meta.JavaTypeProfile;
51 import jdk.vm.ci.meta.MetaAccessProvider;
|
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * These tests are explicitly testing the profiling behavior of the
26 * interpreter. C1-based profiling differs slightly and when -Xcomp
27 * is present, profiles will be created by C1 compiled code, not the
28 * interpreter.
29 *
30 * @test
31 * @requires vm.jvmci
32 * @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel > 1)
33 * @requires vm.compMode != "Xcomp"
34 * @requires vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel > 1
35 * @modules jdk.internal.vm.ci/jdk.vm.ci.meta
36 * jdk.internal.vm.ci/jdk.vm.ci.runtime
37 * @run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:-UseJVMCICompiler -Xbootclasspath/a:. compiler.jvmci.meta.ProfilingInfoTest
38 */
39 package compiler.jvmci.meta;
40
41 import java.io.Serializable;
42 import java.lang.reflect.Constructor;
43 import java.lang.reflect.Executable;
44 import java.lang.reflect.InvocationTargetException;
45 import java.lang.reflect.Method;
46
47 import org.junit.Assert;
48 import org.junit.Assume;
49 import org.junit.Test;
50
51 import jdk.vm.ci.meta.JavaTypeProfile;
52 import jdk.vm.ci.meta.MetaAccessProvider;
|