JDK-8061391.js.EXPECTED revision 1073:06c06c8443fd
1shared callsite 21,2,3,4 32147484647,2147485647,2147486647,2147487647 41.1,2.2,3.3,4.4 5one,two,three,four 61,2,3,4,2147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4,one,two,three,four 71,2,3,4,1 81,2,3,4,1,2,3,4 91,2,3,4,2147484647,2147485647,2147486647,2147487647 101,2,3,4,1.1,2.2,3.3,4.4 111,2,3,4,one,two,three,four 122147484647,2147485647,2147486647,2147487647,2147484647 132147484647,2147485647,2147486647,2147487647,1,2,3,4 142147484647,2147485647,2147486647,2147487647,2147484647,2147485647,2147486647,2147487647 152147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4 162147484647,2147485647,2147486647,2147487647,one,two,three,four 171.1,2.2,3.3,4.4,1.1 181.1,2.2,3.3,4.4,1,2,3,4 191.1,2.2,3.3,4.4,2147484647,2147485647,2147486647,2147487647 201.1,2.2,3.3,4.4,1.1,2.2,3.3,4.4 211.1,2.2,3.3,4.4,one,two,three,four 22one,two,three,four,one 23one,two,three,four,1,2,3,4 24one,two,three,four,2147484647,2147485647,2147486647,2147487647 25one,two,three,four,1.1,2.2,3.3,4.4 26one,two,three,four,one,two,three,four 27separate callsites 281,2,3,4 292147484647,2147485647,2147486647,2147487647 301.1,2.2,3.3,4.4 31one,two,three,four 321,2,3,4,2147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4,one,two,three,four 331,2,3,4,1,2,3,4 341,2,3,4,2147484647,2147485647,2147486647,2147487647 351,2,3,4,1.1,2.2,3.3,4.4 361,2,3,4,one,two,three,four 371,2,3,4,1 382147484647,2147485647,2147486647,2147487647,1,2,3,4 392147484647,2147485647,2147486647,2147487647,2147484647,2147485647,2147486647,2147487647 402147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4 412147484647,2147485647,2147486647,2147487647,one,two,three,four 422147484647,2147485647,2147486647,2147487647,2147484647 431.1,2.2,3.3,4.4,1,2,3,4 441.1,2.2,3.3,4.4,2147484647,2147485647,2147486647,2147487647 451.1,2.2,3.3,4.4,1.1,2.2,3.3,4.4 461.1,2.2,3.3,4.4,one,two,three,four 471.1,2.2,3.3,4.4,1.1 48one,two,three,four,1,2,3,4 49one,two,three,four,2147484647,2147485647,2147486647,2147487647 50one,two,three,four,1.1,2.2,3.3,4.4 51one,two,three,four,one,two,three,four 52one,two,three,four,one 53 54oldia = 1,2,3,4 55oldia = 1,2,3,4 56 57Redoing with sparse arrays 58shared callsite 591,2,3,4,,,,,,,sparse 602147484647,2147485647,2147486647,2147487647 611.1,2.2,3.3,4.4 62one,two,three,four 631,2,3,4,,,,,,,sparse,2147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4,one,two,three,four 641,2,3,4,,,,,,,sparse,1 651,2,3,4,,,,,,,sparse,1,2,3,4,,,,,,,sparse 661,2,3,4,,,,,,,sparse,2147484647,2147485647,2147486647,2147487647 671,2,3,4,,,,,,,sparse,1.1,2.2,3.3,4.4 681,2,3,4,,,,,,,sparse,one,two,three,four 692147484647,2147485647,2147486647,2147487647,2147484647 702147484647,2147485647,2147486647,2147487647,1,2,3,4,,,,,,,sparse 712147484647,2147485647,2147486647,2147487647,2147484647,2147485647,2147486647,2147487647 722147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4 732147484647,2147485647,2147486647,2147487647,one,two,three,four 741.1,2.2,3.3,4.4,1.1 751.1,2.2,3.3,4.4,1,2,3,4,,,,,,,sparse 761.1,2.2,3.3,4.4,2147484647,2147485647,2147486647,2147487647 771.1,2.2,3.3,4.4,1.1,2.2,3.3,4.4 781.1,2.2,3.3,4.4,one,two,three,four 79one,two,three,four,one 80one,two,three,four,1,2,3,4,,,,,,,sparse 81one,two,three,four,2147484647,2147485647,2147486647,2147487647 82one,two,three,four,1.1,2.2,3.3,4.4 83one,two,three,four,one,two,three,four 84separate callsites 851,2,3,4,,,,,,,sparse 862147484647,2147485647,2147486647,2147487647 871.1,2.2,3.3,4.4 88one,two,three,four 891,2,3,4,,,,,,,sparse,2147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4,one,two,three,four 901,2,3,4,,,,,,,sparse,1,2,3,4,,,,,,,sparse 911,2,3,4,,,,,,,sparse,2147484647,2147485647,2147486647,2147487647 921,2,3,4,,,,,,,sparse,1.1,2.2,3.3,4.4 931,2,3,4,,,,,,,sparse,one,two,three,four 941,2,3,4,,,,,,,sparse,1 952147484647,2147485647,2147486647,2147487647,1,2,3,4,,,,,,,sparse 962147484647,2147485647,2147486647,2147487647,2147484647,2147485647,2147486647,2147487647 972147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4 982147484647,2147485647,2147486647,2147487647,one,two,three,four 992147484647,2147485647,2147486647,2147487647,2147484647 1001.1,2.2,3.3,4.4,1,2,3,4,,,,,,,sparse 1011.1,2.2,3.3,4.4,2147484647,2147485647,2147486647,2147487647 1021.1,2.2,3.3,4.4,1.1,2.2,3.3,4.4 1031.1,2.2,3.3,4.4,one,two,three,four 1041.1,2.2,3.3,4.4,1.1 105one,two,three,four,1,2,3,4,,,,,,,sparse 106one,two,three,four,2147484647,2147485647,2147486647,2147487647 107one,two,three,four,1.1,2.2,3.3,4.4 108one,two,three,four,one,two,three,four 109one,two,three,four,one 110Restored ia = 1,2,3,4 111 112concat type expansion 1131,2,3,4,2147484647,2147485647,2147486647,2147487647 1141,2,3,4,1.1,2.2,3.3,4.4 1151,2,3,4,one,two,three,four 1162147484647,2147485647,2147486647,2147487647,1,2,3,4 1172147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4 1182147484647,2147485647,2147486647,2147487647,one,two,three,four 1191.1,2.2,3.3,4.4,1,2,3,4 1201.1,2.2,3.3,4.4,2147484647,2147485647,2147486647,2147487647 1211.1,2.2,3.3,4.4,one,two,three,four 122 123concat varargs 1241,2,3,4,2147484647,2147485647,2147486647,2147487647 1251,2,3,4,2147484647,2147485647,2147486647,2147487647,1.1,2.2,3.3,4.4,one,two,three,four 1261,2,3,4,1,4294967294,4711.17,function() { print("hello, world") } 127 128sanity checks 129number = 1 130number = 2 131number = 3 132number = 4 133number = 1 134number = 4294967294 135number = 4711.17 136hello, world 1371,2,3,4,[object Object] 1381,2,3,4,[object Object],[object Object] 139