This is just a generic synopsis. Please change accordingly.
The attached fuzzer test produces a different result for C2 compared to C1/interpreter. It starts to fail after JDK-8223347 and thus seems unrelated to JDK-8261147.
To reproduce:
$ java -Xint Reduced.java > xint.log
$ java -Xcomp -XX:-TieredCompilation -XX:CompileOnly=Reduced Reduced.java > c2.log
or
$ java -Xint Test.java > xint.log
$ java -Xcomp -XX:-TieredCompilation -XX:CompileOnly=Test Test.java > c2.log
$ diff xint.log c2.log (of Test.java)
4c4
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8626774667594265033
14c14
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8896789206094624590
24c24
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8896789206094624590
34c34
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8896789206094624590
44c44
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8801448218637635204
54c54
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8711634374960815033
64c64
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8626774667594265033
74c74
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8896789206094624590
84c84
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8801448218637635204
94c94
< i21 i22 lArr = 1,-5,-3636660501855477640
---
> i21 i22 lArr = 1,-5,-8711634374960815033