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

[premain] C1: assert(tdata == nullptr || TrainingData::need_data()) failed

XMLWordPrintable

      Intermittent assert during 1-step training run:

      runtime/cds/appcds/leyden/ExcludedClasses.java

      # Internal Error (.../src/hotspot/share/compiler/compileBroker.cpp:2436), pid=4415, tid=25091
      # Error: assert(tdata == nullptr || TrainingData::need_data()) failed

      Current thread (0x0000000140058810): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=25091, stack(0x000000016d46c000,0x000000016d66f000) (2060K)]

      Command Line: -Xlog:cds+resolve=debug --add-opens=java.base/java.lang=ALL-UNNAMED -Xlog:cds=debug,cds+class=debug,cds+heap=warning,cds+resolve=debug:file=TestApp.cds.log:uptime,level,tags,pid:filesize=0 -XX:+ArchiveInvokeDynamic -XX:+ArchiveDynamicProxies -XX:CacheDataStore=TestApp.cds -Xlog:cds::uptime,level,tags,pid -XX:CDSPreimage=TestApp.cds.preimage


      Current CompileTask:
      C1: S615 C0 Q0 817 b 2 java.util.LinkedHashMap::<init> (21 bytes)

      Stack: [0x000000016d46c000,0x000000016d66f000], sp=0x000000016d66e2e0, free space=2056k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x11a739c] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x564 (compileBroker.cpp:2436)
      V [libjvm.dylib+0x11a7bbc] VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*)+0x0
      V [libjvm.dylib+0x594670] print_error_for_unit_test(char const*, char const*, char*)+0x0
      V [libjvm.dylib+0x5123f4] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xf3c
      V [libjvm.dylib+0x5110b4] CompileBroker::compiler_thread_loop()+0x330
      V [libjvm.dylib+0x901508] JavaThread::thread_main_inner()+0x1dc
      V [libjvm.dylib+0x10de918] Thread::call_run()+0xf4
      V [libjvm.dylib+0xe9b130] thread_native_entry(Thread*)+0x130
      C [libsystem_pthread.dylib+0x7034] _pthread_start+0x88

            cslucas Cesar Soares
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: