ValueType.findConstructor

John Rose john.r.rose at oracle.com
Sat Jun 24 00:39:29 UTC 2017


On Jun 23, 2017, at 4:31 PM, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> 
> Maybe a naive question - but do you need method handle builder (and extra bytecode spinning) for constructor? Can't we combine the result of findConstructor on the boxed class with the vunbox MH?

It's certainly worth a try in the first cut.
If the JIT fails to EA away the box, we have ways to make it comply.
Longer term, we want a box-free way to manage this.
— John


More information about the valhalla-dev mailing list