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

C1: Debug build crash in GraphBuilder::vmap() when print stats

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 23
    • 11, 17, 21, 23
    • hotspot
    • b05

    Description

      VM will crash in GraphBuilder::vmap() when -XX:+PrintValueNumbering -XX:+Verbose -XX:-UseLocalValueNumbering in debug build.

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (workspace/open/src/hotspot/share/c1/c1_GraphBuilder.hpp:199), pid=3468572, tid=3468587
      # assert(UseLocalValueNumbering) failed: should not access otherwise
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+26) (fastdebug build 22-ea+26-2075)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+26-2075, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x72963c] GraphBuilder::vmap() const [clone .isra.0]+0x4c
      #

      Current CompileTask:
      C1:161 25 25 1 3 java.lang.Object::<init> (1 bytes)

      Stack: [0x00007f930abad000,0x00007f930acae000], sp=0x00007f930acabac0, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x72963c] GraphBuilder::vmap() const [clone .isra.0]+0x4c (c1_GraphBuilder.hpp:199)
      V [libjvm.so+0x7472d6] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x8d6
      V [libjvm.so+0x755ea2] IRScope::IRScope(Compilation*, IRScope*, int, ciMethod*, int, bool)+0x322
      V [libjvm.so+0x7560b8] IR::IR(Compilation*, ciMethod*, int)+0xa8
      V [libjvm.so+0x71e133] Compilation::build_hir() [clone .part.0]+0x113
      V [libjvm.so+0x720258] Compilation::compile_java_method()+0x4b8
      V [libjvm.so+0x720abe] Compilation::compile_method()+0x20e
      V [libjvm.so+0x7211bc] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x2dc
      V [libjvm.so+0x722cae] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0xae
      V [libjvm.so+0x9ffadc] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x92c
      V [libjvm.so+0xa00768] CompileBroker::compiler_thread_loop()+0x468
      V [libjvm.so+0xeb009c] JavaThread::thread_main_inner()+0xcc
      V [libjvm.so+0x1789536] Thread::call_run()+0xb6
      V [libjvm.so+0x14939a7] thread_native_entry(Thread*)+0x127

      Attachments

        Issue Links

          Activity

            People

              ddong Denghui Dong
              ddong Denghui Dong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: