JDK-8263972 : C2: LoadVector/StoreVector type mismatch in MemNode::can_see_stored_value()
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16,17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-03-22
  • Updated: 2022-05-06
  • Resolved: 2021-04-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b20Fixed
Related Reports
Relates :  
Relates :  
Description
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
Comments
Changeset: b2628d15 Author: Vladimir Ivanov <vlivanov@openjdk.org> Date: 2021-04-27 16:34:28 +0000 URL: https://git.openjdk.java.net/jdk/commit/b2628d15
27-04-2021

Hi [~vlivanov], request your help to check, assign this task. Thank you.
24-03-2021