[Leyden] aotCode/AOTCodeFlags.java asserts receiver_klass->is_not_initialized after JDK-8369296

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • repo-leyden
    • Affects Version/s: repo-leyden
    • Component/s: hotspot

      After porting JDK-8369296 the test runtime/cds/appcds/aotCode/AOTCodeFlags.java hit assert when run with -Xcomp:

      Command Line: -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/24/36/bundles/linux-x64/jdk-24_linux-x64_bin.tar.gz/jdk-24 -Djava.io.tmpdir=/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime/tmp -Xcomp -XX:+UnlockDiagnosticVMOptions -XX:-AOTAdapterCaching -XX:-AOTStubCaching -XX:+AOTCodeCaching -Xlog:aot+codecache+init=debug -Xlog:aot+codecache+exit=debug -Xlog:arguments,aot,cds:file=AOTCodeFlags.production.2.log::filesize=0 -XX:AOTMode=on -XX:AOTCache=AOTCodeFlags.aot JavacBenchApp 10


      # Internal Error (/workspace/open/src/hotspot/share/runtime/sharedRuntime.cpp:1411), pid=3540890, tid=3540893
      # assert(!InstanceKlass::cast(receiver_klass)->is_not_initialized()) failed: receiver_klass must be initialized
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0) (fastdebug build 26-internal-2025-10-30-1935566.vladimir.kozlov.leyden)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-internal-2025-10-30-1935566.vladimir.kozlov.leyden, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1a337ff] SharedRuntime::find_callee_info_helper(vframeStream&, Bytecodes::Code&, CallInfo&, JavaThread*)+0x5df
      #

            Assignee:
            Vladimir Kozlov
            Reporter:
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: