< prev index next >
test/compiler/profiling/TestMethodHandleInvokesIntrinsic.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,38 ****
/*
* @test
* @bug 8041458
* @summary profiling of arguments in C1 at MethodHandle invoke of intrinsic tries to profile popped argument.
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TieredStopAtLevel=3 TestMethodHandleInvokesIntrinsic
*
*/
! import java.lang.invoke.*;
public class TestMethodHandleInvokesIntrinsic {
static final MethodHandle mh_nanoTime;
static final MethodHandle mh_getClass;
static {
--- 23,45 ----
/*
* @test
* @bug 8041458
* @summary profiling of arguments in C1 at MethodHandle invoke of intrinsic tries to profile popped argument.
*
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ * -XX:TieredStopAtLevel=3
+ * compiler.profiling.TestMethodHandleInvokesIntrinsic
+ *
*/
! package compiler.profiling;
+ import java.lang.invoke.MethodHandle;
+ import java.lang.invoke.MethodHandles;
+ import java.lang.invoke.MethodType;
+
public class TestMethodHandleInvokesIntrinsic {
static final MethodHandle mh_nanoTime;
static final MethodHandle mh_getClass;
static {
< prev index next >