C2 support for method invocations on value types
Zoltán Majó
zoltan.majo at oracle.com
Fri Nov 4 15:06:08 UTC 2016
Hi,
here is a changeset to add (preliminary) C2 support for method
invocations on value types.
http://cr.openjdk.java.net/~zmajo/valhalla/00.invokedirect.webrev.00/
The changeset also adds some verification code to the invokedirect
implementation in the interpreter. With the modification, the
interpreter fails if it encounters the invocation of a non-final method
on a value type. If you disagree with that change, I can remove it from
the planned changeset.
I also made some comments more verbose. Maybe future first-readers will
benefit from that as well.
I plan to push the change on Monday the earliest, unless, of course,
there are any objections.
Thank you!
Best regards,
Zoltan
More information about the valhalla-dev
mailing list