call to __Value methods can't pass fields as arguments

Tobias Hartmann tobias.hartmann at oracle.com
Tue Mar 21 09:55:57 UTC 2017


Hi Roland,

On 16.03.2017 14:11, Roland Westrelin wrote:
> http://cr.openjdk.java.net/~roland/valhalla/__valuemethods/webrev.00/

This looks good to me!

Best regards,
Tobias

> When calling a method that's defined only by __Value (toString etc.),
> we can't pass fields, we have to pass a reference (the callee is generic
> so has no way to know what fields to expect).
> 
> There's a little tweak to some runtime code so someone from runtime
> should probably take a look.
> 
> Roland.
> 


More information about the valhalla-dev mailing list