-
Bug
-
Resolution: Fixed
-
P3
-
16, 17, 19, 20, 21
-
b06
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8307020 | 20u-cpu | Tobias Hartmann | P3 | Resolved | Fixed | master |
JDK-8305540 | 20.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b03 |
JDK-8305130 | 17.0.8-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8306511 | 17.0.8 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
The attached Java Fuzzer test results in a wrong execution with C2 compared to a run with the interpreter/C1 after
- aarch64: fails after
- x64: only fails with -XX:UseAVX=3 (and before
To reproduce:
$ java -Xint Test.java > interpreter.log
$ java -XX:-TieredCompilation -Xcomp -XX:CompileOnly=Test (-XX:UseAVX=3) Test.java > c2_test.log
$ java -XX:-TieredCompilation -Xcomp -XX:CompileOnly=Reduced (-XX:UseAVX=3) Reduced.java > c2_reduced.log
$ diff interpreter.log c2_test.log:
7c7
< vMeth1_check_sum: 585775794890188912
---
> vMeth1_check_sum: 585775794890188648
16c16
< vMeth1_check_sum: 1171551947176573060
---
> vMeth1_check_sum: 1171551947176572796
25c25
< vMeth1_check_sum: 1757328099462957208
---
> vMeth1_check_sum: 1757328099462956944
34c34
< vMeth1_check_sum: 2343104251749341356
---
> vMeth1_check_sum: 2343104251749341092
43c43
< vMeth1_check_sum: 2928880404035725504
---
> vMeth1_check_sum: 2928880404035725240
52c52
< vMeth1_check_sum: 3514656556322109652
---
> vMeth1_check_sum: 3514656556322109388
61c61
< vMeth1_check_sum: 4100432708608493800
---
> vMeth1_check_sum: 4100432708608493536
70c70
< vMeth1_check_sum: 4686208860894877948
---
> vMeth1_check_sum: 4686208860894877684
79c79
< vMeth1_check_sum: 5271985013181262096
---
> vMeth1_check_sum: 5271985013181261832
88c88
< vMeth1_check_sum: 5857761165467646244
---
> vMeth1_check_sum: 5857761165467645980
$ diff interpreter.log c2_reduced.log:
134c134
< iArrFld[63]: 0
---
> iArrFld[63]: 4
204c204
< iArrFld[63]: 0
---
> iArrFld[63]: 4
274c274
< iArrFld[63]: 0
---
> iArrFld[63]: 4
344c344
< iArrFld[63]: 0
---
> iArrFld[63]: 4
414c414
< iArrFld[63]: 0
---
> iArrFld[63]: 4
484c484
< iArrFld[63]: 0
---
> iArrFld[63]: 4
554c554
< iArrFld[63]: 0
---
> iArrFld[63]: 4
624c624
< iArrFld[63]: 0
---
> iArrFld[63]: 4
694c694
< iArrFld[63]: 0
---
> iArrFld[63]: 4
- backported by
-
JDK-8305130 ArrayFill with store on backedge needs to reduce length by 1
-
- Resolved
-
-
JDK-8305540 ArrayFill with store on backedge needs to reduce length by 1
-
- Resolved
-
-
JDK-8306511 ArrayFill with store on backedge needs to reduce length by 1
-
- Resolved
-
-
JDK-8307020 ArrayFill with store on backedge needs to reduce length by 1
-
- Resolved
-
- relates to
-
JDK-8299808 C2 SuperWord: investigate performance difference to ArrayFill
-
- Open
-
-
JDK-8247307 C2: Loop array fill stub routines are not called
-
- Resolved
-
-
JDK-8275047 Optimize existing fill stubs for AVX-512 target
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/d21597ae
-
Commit openjdk/jdk20u/760ff6e5
-
Commit openjdk/jdk/d716ec5d
-
Review openjdk/jdk17u-dev/1269
-
Review openjdk/jdk20u/24
-
Review openjdk/jdk/11904