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

assert(func2 == 0 && func3 == 0) failed: not unary

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      x86_64

      Backports

        Description

        Following test case results into an assertion failure with debug builds and produces incorrect results with release build of JDK-18

        HOW TO REPRODUCE:

        1. Ensure that the x86_64 processor supports AVX512:
        $ java -XX:+PrintFlagsFinal --version | grep UseAVX
             intx UseAVX = 3 {ARCH product} {default}

        2. Run java (version 18, fastdebug) as follows:
        $ java --add-modules jdk.incubator.vector logic_opt.java
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (src/hotspot/share/opto/compile.cpp:2567), pid=11089, tid=11104
        # assert(func2 == 0 && func3 == 0) failed: not unary
        #
        # JRE version: Java(TM) SE Runtime Environment (18.0.1+10) (fastdebug build 18.0.1+10-24)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18.0.1+10-24, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xa7865a] Compile::compute_truth_table(Unique_Node_List&, Unique_Node_List&)+0x53a
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/rocastan/notes/bugs/8286283/core.11089)
        #
        # An error report file with more information is saved as:
        # hs_err_pid11089.log
        #
        # Compiler replay data is saved as:
        # replay_pid11089.log
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #
        Aborted (core dumped)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jbhateja Jatin Bhateja
                Reporter:
                jbhateja Jatin Bhateja
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: