RFR: 8184017: [MVT] Support Q-types in MHs.insertArguments()

Paul Sandoz paul.sandoz at oracle.com
Fri Jul 7 17:07:00 UTC 2017


+1

Paul.

> On 7 Jul 2017, at 09:37, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> 
> http://cr.openjdk.java.net/~vlivanov/valhalla/8184017/webrev.00
> 
> Q-typed argument binding support. The value is stored in boxed form inside BMH and unboxed on access.
> 
> Before: a1:Q
>  invoke061_LQL_Q=Lambda(a0:L/SpeciesData<LLLL>,a1:Q,a2:L)=>{
> 
> After: t4:Q
>  invoke065_LL_Q=Lambda(a0:L/SpeciesData<LLLLLL>,a1:L)=>{
>    t2:L=BoundMethodHandle$Species_L6.argL5(a0:L);
>    t3:L=BoundMethodHandle$Species_L6.argL4(a0:L);
>    t4:Q=MethodHandle.invokeBasic(t2:L,t3:L);
> 
> I haven't added any test case yet, but there will be one in an updated test on vectors.
> 
> Best regards,
> Vladimir Ivanov




More information about the valhalla-dev mailing list