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

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

XMLWordPrintable

    • b21
    • 16
    • b20

      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

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

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

              Created:
              Updated:
              Resolved: