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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri Jul 7 16:37:54 UTC 2017


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