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

C2: Div looses dependency on condition that guarantees divisor not zero in counted loop after peeling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 22, 24, 25
    • hotspot

      $ java -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:-UseLoopPredicate -XX:-UseProfiledLoopPredicate -XX:+StressGCM TestPeeledLoopNoBackedgeFloatingDiv

      ...



      A fatal error has been detected by the Java Runtime Environment:
      #
       SIGFPE (0x8) at pc=0x00007f6df8342577, pid=3622847, tid=3622848
      #
      JRE version: OpenJDK Runtime Environment (25.0) (fastdebug build 25-internal-adhoc.roland.jdk-jdk)
      Java VM: OpenJDK 64-Bit Server VM (fastdebug 25-internal-adhoc.roland.jdk-jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      Problematic frame:
      J 5 c2 TestPeeledLoopNoBackedgeFloatingDiv.test1(IIZZ)I (41 bytes) @ 0x00007f6df8342577 [0x00007f6df8342520+0x0000000000000057]

            roland Roland Westrelin
            roland Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: