You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new bytecodes aconst_init and withfield previously introduced in Project Valhalla is going to be removed. Value Type initialization will be done via existing bytecodes new, dup and putfield.
The special Value Type constructor <vnew> is also going to be removed. It will be replaced with regulated constructor (mentioned in #18309).
The text was updated successfully, but these errors were encountered:
Previously if a new bytecode was executed for a value type, an InstantiationError would result. As with the anticipated removal of the Q prefix, I think the JIT compiler will require a helper so it can determine at compile-time whether it's working in an environment where new can be applied to a value type. That way, the compiler can support both ways of creating value type instances while we wait for the transition.
The new bytecodes
aconst_init
andwithfield
previously introduced in Project Valhalla is going to be removed. Value Type initialization will be done via existing bytecodesnew
,dup
andputfield
.The special Value Type constructor
<vnew>
is also going to be removed. It will be replaced with regulated constructor (mentioned in #18309).The text was updated successfully, but these errors were encountered: