RFR/RFC: C2: limited support for vbox/vunbox
zoltan.majo at oracle.com
Tue Dec 20 14:33:21 UTC 2016
this patch adds basic C2 support for the vbox/vunbox bytecodes.
The suggested change is in a prototype phase, thus it works for only a
limited set of use cases (covered by tests 37--40). In more detail, the
- does not enable C2 to generate checks currently performed by the
interpreter to verify that the bytecodes handle a value-capable class
and it's corresponding derived value type;
- relies on the assumption that the memory layout of the derived value
type is the same as the memory layout of the value-capable class.
The patch also contains a minor refactoring of method names in
ValueTypeNode so that the names better match with the HotSpot Style Guide.
I tested with ValueTypeTestBench.java and with the Octane+Nashorn
More information about the valhalla-dev