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

Crash with -XX:-Inline on basic vector API case (debug builds)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 18
    • hotspot
    • generic
    • generic

      SPROMPT>java -XX:-Inline -cp . add
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/compile.cpp:736
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/jatinbha/sandboxes/git-openjdk/jdk/src/hotspot/share/opto/compile.cpp:736), pid=1880, tid=1978
      # assert(IncrementalInline || (_late_inlines.length() == 0 && !has_mh_late_inlines())) failed: incremental inlining is off
      #
      # JRE version: OpenJDK Runtime Environment (18.0) (slowdebug build 18-internal+0-adhoc.root.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (slowdebug 18-internal+0-adhoc.root.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x7eac1c][thread 2086 also had an error]
        Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x10c6
      #
      # 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/jatinbha/code/java/vector-api/core.1880)
      #
      # An error report file with more information is saved as:
      # /home/jatinbha/code/java/vector-api/hs_err_pid1880.log
      [thread 2081 also had an error]
      #
      # Compiler replay data is saved as:
      # /home/jatinbha/code/java/vector-api/replay_pid1880.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      Aborted (core dumped)

      Problem is seen in DEBUG (asset) builds only.

            Unassigned Unassigned
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: