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

ARM32: bad AD file in matcher.cpp after 8266810

XMLWordPrintable

    • b23
    • aarch32
    • linux

      After JDK-8266810, many tier1 hotspot tests are failing:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/cgo/dev/openjdk/jdk/src/hotspot/share/opto/matcher.cpp:1670), pid=2102, tid=2112
      # assert(false) failed: bad AD file
      #
      # JRE version: OpenJDK Runtime Environment (17.0+22) (fastdebug build 17-internal+22-ahead-24--644f28c0ead18a37d7996ec30b49718a2f6aa189)
      # Java VM: OpenJDK Server VM (fastdebug 17-internal+22-ahead-24--644f28c0ead18a37d7996ec30b49718a2f6aa189, compiled mode, serial gc, linux-arm)
      # Problematic frame:
      # V [libjvm.so+0xe873cc] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x784
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/microdoc/cgo/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_compiler_c1_CCEMessageTest_java/scratch/core.2102)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      It seems that a small mistake has been made during the move:

      Before the move, `Matcher::convL2FSupported` returned `false`:
      https://git.openjdk.java.net/jdk/blob/88907bb81a5a67a51f32c36f6cd821c2488117eb/src/hotspot/cpu/arm/arm.ad#L1051

      After the move, `convL2FSupported` returns `true`:
      https://git.openjdk.java.net/jdk/blob/644f28c0ead18a37d7996ec30b49718a2f6aa189/src/hotspot/cpu/arm/matcher_arm.hpp#L142

      See also in the commit:
      https://git.openjdk.java.net/jdk/commit/644f28c0ead18a37d7996ec30b49718a2f6aa189#diff-4841b83b7eb100a1479eda1fd8af1517c5b7bf94c8ee1671748d8e117c83449cL1051
      https://git.openjdk.java.net/jdk/commit/644f28c0ead18a37d7996ec30b49718a2f6aa189#diff-17e39555729422252835b46be4361e4a6c67dba4a6ba800d2fe3ef6f0f357fb3R142

            cgo Christoph Göttschkes (Inactive)
            cgo Christoph Göttschkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: