< prev index next >

test/hotspot/jtreg/compiler/valhalla/valuetypes/TestCallingConvention.java

Print this page

        

*** 588,599 **** @DontCompile public void test28_verifier(boolean warmup) { String result = test28(); } - // TODO enable once JDK-8224110 and JDK-8224211 are fixed - /* // Test calling a method returning a value type as fields via reflection MyValue3 test29_vt = MyValue3.create(); @Test public MyValue3 test29() { --- 588,597 ----
*** 614,624 **** } @DontCompile public void test30_verifier(boolean warmup) throws Exception { MyValue3[] array = new MyValue3[1]; ! MyValue3 vt = (MyValue3)TestCallingConvention.class.getDeclaredMethod("test30", MyValue3[].class).invoke(this, array); array[0].verify(vt); } MyValue3 test31_vt; --- 612,622 ---- } @DontCompile public void test30_verifier(boolean warmup) throws Exception { MyValue3[] array = new MyValue3[1]; ! MyValue3 vt = (MyValue3)TestCallingConvention.class.getDeclaredMethod("test30", MyValue3[].class).invoke(this, (Object)array); array[0].verify(vt); } MyValue3 test31_vt;
*** 632,642 **** @DontCompile public void test31_verifier(boolean warmup) throws Exception { MyValue3 vt = (MyValue3)TestCallingConvention.class.getDeclaredMethod("test31").invoke(this); test31_vt.verify(vt); } - */ // Test deoptimization at call return with return value in registers. Same as test14, except the interpreted method // is called via a MethodHandle. static MethodHandle test32_mh; --- 630,639 ----
< prev index next >