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

AOT cache creation fails: no strings should have been added

XMLWordPrintable

    • b06

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/workspace/open/src/hotspot/share/classfile/stringTable.cpp:1048), pid=2304255, tid=2304263
        # assert(index < array->length()) failed: no strings should have been added
        #
        # JRE version: Java(TM) SE Runtime Environment (25.0+25) (fastdebug build 25-ea+25-LTS-3126)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+25-LTS-3126, mixed mode, tiered, jvmci, jvmci compiler, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x196e55f] StringTable::init_shared_strings_array()::{lambda(WeakHandle*)#1}::operator()(WeakHandle*) const [clone .isra.0]+0x49f
        #

        --------------- S U M M A R Y ------------

        Host: ol8-x64-953230, AMD EPYC 7J13 64-Core Processor, 12 cores, 23G, Oracle Linux Server release 8.10
        Time: Mon Jun 2 12:21:47 2025 UTC elapsed time: 1.628526 seconds (0d 0h 0m 1s)

        --------------- T H R E A D ---------------

        Current thread (0x00007f4ad81637c0): VMThread "VM Thread" [id=2304263, stack(0x00007f4adc41a000,0x00007f4adc51a000) (1024K)]

        Stack: [0x00007f4adc41a000,0x00007f4adc51a000], sp=0x00007f4adc518420, free space=1017k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x196e55f] StringTable::init_shared_strings_array()::{lambda(WeakHandle*)#1}::operator()(WeakHandle*) const [clone .isra.0]+0x49f (stringTable.cpp:1048)
        V [libjvm.so+0x19734c5] StringTable::init_shared_strings_array()+0x155 (concurrentHashTable.inline.hpp:960)
        V [libjvm.so+0xf9677d] HeapShared::archive_strings()+0x2d (heapShared.cpp:610)
        V [libjvm.so+0xf96886] HeapShared::end_scanning_for_oops()+0x16 (heapShared.cpp:673)
        V [libjvm.so+0x65e11f] AOTArtifactFinder::find_artifacts()+0xc6f (aotArtifactFinder.cpp:184)
        V [libjvm.so+0x694e43] ArchiveBuilder::gather_klasses_and_symbols()+0x93 (archiveBuilder.cpp:273)
        V [libjvm.so+0x69561e] ArchiveBuilder::gather_source_objs()+0xae (archiveBuilder.cpp:533)
        V [libjvm.so+0x16335b8] VM_PopulateDumpSharedSpace::doit()+0x138 (metaspaceShared.cpp:656)
        V [libjvm.so+0x1bc43d6] VM_Operation::evaluate()+0x196 (vmOperations.cpp:74)
        V [libjvm.so+0x1be0042] VMThread::evaluate_operation(VM_Operation*)+0x172 (vmThread.cpp:282)
        V [libjvm.so+0x1be0faf] VMThread::inner_execute(VM_Operation*)+0x42f (vmThread.cpp:426)
        V [libjvm.so+0x1be1144] VMThread::loop()+0x84 (vmThread.cpp:492)
        V [libjvm.so+0x1be1254] VMThread::run()+0x94 (vmThread.cpp:176)
        V [libjvm.so+0x1ac7b66] Thread::call_run()+0xb6 (thread.cpp:243)
        V [libjvm.so+0x1750cd8] thread_native_entry(Thread*)+0x128 (os_linux.cpp:868)

              iklam Ioi Lam
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: