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

assert(comp != __null) failed: Compiler instance missing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      This is on behalf of junjiwang@tencent.com

      # Symptom
      ```
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/Users/junjiwang/openJDK/git/jdk-master/src/hotspot/share/compiler/compileBroker.cpp:880), pid=19257, tid=5891
      # assert(comp != __null) failed: Compiler instance missing.
      #

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

      Current thread (0x00007fdff4008220): JavaThread "main" [_thread_in_vm, id=10243, stack(0x0000700005d5d000,0x0000700005e5d000)]

      Stack: [0x0000700005d5d000,0x0000700005e5d000], sp=0x0000700005e5c6b0, free space=1021k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x114cacc] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6dc
      V [libjvm.dylib+0x114d0db] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x54d16d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.dylib+0x505f4f] CompileBroker::make_thread(CompileBroker::ThreadType, _jobject*, CompileQueue*, AbstractCompiler*, Thread*)+0x16f
      V [libjvm.dylib+0x50541f] CompileBroker::init_compiler_sweeper_threads()+0x5cf
      V [libjvm.dylib+0x504aae] CompileBroker::compilation_init_phase1(Thread*)+0x21e
      V [libjvm.dylib+0x10af5ce] Threads::create_vm(JavaVMInitArgs*, bool*)+0x73e
      V [libjvm.dylib+0x8de356] JNI_CreateJavaVM+0x96
      C [libjli.dylib+0x4702] JavaMain+0x122
      C [libjli.dylib+0x7679] ThreadJavaMain+0x9
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf
      ```


      # Reproduce
      Build with C1 disabled: bash configure --with-jvm-features=-compiler1
      Run: java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:JVMCIHostThreads=1 -version

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: