Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263972

C2: LoadVector/StoreVector type mismatch in MemNode::can_see_stored_value()

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b21
    • Introduced In Version:
      16
    • Resolved In Build:
      b20

      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

        Attachments

        1. Test.java
          7 kB
        2. Reduced.java
          0.5 kB
        3. FuzzerUtils.java
          13 kB

          Issue Links

            Activity

              People

              Assignee:
              vlivanov Vladimir Ivanov
              Reporter:
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: