RFR S 8214742 [lworld][c1] Block merging need to preserve type info for flattened arrays

Ioi Lam ioi.lam at oracle.com
Mon Dec 3 23:51:32 UTC 2018


The fix is for code like this, where the aaload bytecode needs to know 
that the array is flattened.

     static int test(boolean b) {
         VT[] va;
         if (b) {
             va = new VT[5];
         } else {
             va = new VT[10];
         return va[0].v1;  <<<< here


- Ioi

More information about the valhalla-dev mailing list