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

EA fails with "EA unexpected CallLeaf unsafe_setmemory" after JDK-8329331

XMLWordPrintable

    • 23
    • b23
    • Verified

      Showed up in the Loom repo. Thanks to [~alanb] for reporting.

      java -XX:+ReplayCompiles -XX:+ReplayIgnoreInitErrors -XX:ReplayDataFile=replay_pid1057140.log

       785 CallLeafNoFP === 775 1 777 8 1 (780 304 1 11 ) [[ 786 787 ]] # unsafe_setmemory void ( NotNull *+bot, long, half, int:0..255 ) !jvms: Unsafe::setMemory @ bci:25 (line 743) ScopedMemoryAccess::setMemoryInternal @ bci:17 (line 200) ScopedMemoryAccess::setMemory @ bci:8 (line 188) AbstractMemorySegmentImpl::fill @ bci:30 (line 194)
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/workspace/open/src/hotspot/share/opto/escape.cpp:2177), pid=245497, tid=245511
      # fatal error: EA unexpected CallLeaf unsafe_setmemory
      #
      # JRE version: Java(TM) SE Runtime Environment (23.0+20) (fastdebug build 23-ea+20-1631)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-ea+20-1631, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xbb7558] ConnectionGraph::process_call_arguments(CallNode*)+0x1438

      Current CompileTask:
      C2:583 107 b 4 jdk.internal.foreign.AbstractMemorySegmentImpl::fill (35 bytes)

      Stack: [0x00007fd1d8bed000,0x00007fd1d8cee000], sp=0x00007fd1d8ce8bf0, free space=1006k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xbb7558] ConnectionGraph::process_call_arguments(CallNode*)+0x1438 (escape.cpp:2177)
      V [libjvm.so+0xbb97e3] ConnectionGraph::compute_escape()+0xa63
      V [libjvm.so+0xbbb5f1] ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0xf1
      V [libjvm.so+0x9e633a] Compile::Optimize()+0x63a
      V [libjvm.so+0x9ea140] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b50
      V [libjvm.so+0x83f205] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5
      V [libjvm.so+0x9f5fd8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928
      V [libjvm.so+0x9f6c68] CompileBroker::compiler_thread_loop()+0x478
      V [libjvm.so+0xe9d8bc] JavaThread::thread_main_inner()+0xcc
      V [libjvm.so+0x17b35a6] Thread::call_run()+0xb6
      V [libjvm.so+0x149de87] thread_native_entry(Thread*)+0x127

            sgibbons Scott Gibbons (Inactive)
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: