< prev index next >
test/hotspot/jtreg/compiler/valhalla/valuetypes/MyValue1.java
Print this page
@@ -70,13 +70,13 @@
v = setY(v, y);
v = setZ(v, (short)x);
v = setO(v, new Integer(x));
int[] oa = {x};
v = setOA(v, oa);
- v = setV1(v, MyValue2.createWithFieldsInline(x, true));
- v = setV2(v, MyValue2.createWithFieldsInline(x, false));
- v = setC(v, ValueTypeTest.rI);
+ v = setV1(v, MyValue2.createWithFieldsInline(x, y, true));
+ v = setV2(v, MyValue2.createWithFieldsInline(x, y, false));
+ v = setC(v, (int)(x+y));
return v;
}
// Hash only primitive and value type fields to avoid NullPointerException
@ForceInline
< prev index next >