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

ciReplay: assert(is_loaded()) failed: must be loaded

    XMLWordPrintable

    Details

      Description

      Several replay files generated by following three java/lang/String tests crash with

      # Internal Error (/home/katya/work/JavaSE/Hotspot/ws/git/jdk.jdk.master/open/src/hotspot/share/ci/ciInstanceKlass.hpp:146), pid=29844, tid=29858
      # assert(is_loaded()) failed: must be loaded
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-11-10-1930227.katya...)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-11-10-1930227.katya..., mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x8dd017] ciMethod::find_monomorphic_target(ciInstanceKlass*, ciInstanceKlass*, ciInstanceKlass*, bool)+0x497


      The list of tests:
       java/lang/String/StringJoinTest.java
       java/lang/String/Indent.java
       java/lang/String/CompactString/OffsetByCodePoints.java

      The issue seems to be present only in latest jdk (jdk18) workspace, no crashes using latest jdk18 promoted builds
      but it fails differently:

      b18-b20:
       java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder
       Error while parsing line 46: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder

      b21:
       java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder
       Error while parsing line 46 at position 80: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder

      b22:
       Error while parsing line 425 at position 50: constant pool length mismatch: wrong class files?
       Failed on constant pool length mismatch: wrong class files?

        Attachments

        1. hs_err_bug8276969.log
          62 kB
          Ekaterina Pavlova
        2. replay_bug_DivideMcTests.log
          137 kB
          Ekaterina Pavlova
        3. replay_bug8276969_02.log
          123 kB
          Ekaterina Pavlova
        4. replay_bug8276969_WorstCaseTests_Xcomp.log
          115 kB
          Ekaterina Pavlova
        5. replay_bug8276969.log
          123 kB
          Ekaterina Pavlova

          Issue Links

            Activity

              People

              Assignee:
              dlong Dean Long
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: