The attached Java Fuzzer test produces a wrong result after JDK-8288112:
To reproduce:
$ java -Xint Test.java > int.log
$ java -XX:-TieredCompilation -Xcomp -XX:CompileOnly=Test Test.java > c2.log
$ diff int.log c2.log
$ java -Xint Reduced.java > int.log
$ java -XX:-TieredCompilation -Xcomp -XX:CompileOnly=Reduced Reduced.java > c2.log
$ diff int.log c2.log
Output diff of Test.java:
0a1
> CompileCommand: compileonly Test.* bool compileonly = true
16c17
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1765
27c28
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
38c39
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
49c50
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
60c61
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
71c72
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
82c83
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
93c94
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553
104c105
< i24 i25 byArr = 2,-3,-1381
---
> i24 i25 byArr = 2,-3,-1553