< prev index next >

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

Print this page

        

@@ -355,11 +355,16 @@
         Asserts.assertEQ(res, v.x);
     }
 
     @Test()
     public void test22(MyValue1 v) {
+        try {
+            v = U.makePrivateBuffer(v);
         U.putInt(v, X_OFFSET, 0);
+        } finally {
+            v = U.finishPrivateBuffer(v);
+        }
     }
 
     @DontCompile
     public void test22_verifier(boolean warmup) {
         MyValue1 v = MyValue1.createWithFieldsInline(rI, rL);
< prev index next >