JDK-8162785 : assert(_keep_alive > 0) failed: Invalid keep alive count
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-07-29
  • Updated: 2016-07-29
  • Resolved: 2016-07-29
Related Reports
Duplicate :  
Description
Current thread (0x00007f944c017000):  JavaThread "main" [_thread_in_vm, id=4925, stack(0x00007f9452582000,0x00007f9452683000)]

Stack: [0x00007f9452582000,0x00007f9452683000],  sp=0x00007f9452680b20,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x16a2e82]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x162
V  [libjvm.so+0x16a3bff]  VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
V  [libjvm.so+0xa67e0d]  report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V  [libjvm.so+0x9208ba]  ClassLoaderData::dec_keep_alive()+0x4a
V  [libjvm.so+0x12a3135]  ModuleEntryTable::patch_javabase_entries(Handle)+0x3b5
V  [libjvm.so+0x12ad28b]  define_javabase_module(_jobject*, _jstring*, _jstring*, _jobjectArray*, Thread*)+0x223b
V  [libjvm.so+0x12ae0d8]  Modules::define_module(_jobject*, _jstring*, _jstring*, _jobjectArray*, Thread*)+0xde8
V  [libjvm.so+0xf3c22e]  JVM_DefineModule+0xde
J 1086 java.lang.reflect.Module.defineModule0(Ljava/lang/reflect/Module;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V java.base@9-internal (0 bytes) @ 0x00007f943c25068c [0x00007f943c250500+0x000000000000018c]
J 1085 C1 java.lang.reflect.Module.<init>(Ljava/lang/reflect/Layer;Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V java.base@9-internal (143 bytes) @ 0x00007f9434f72064 [0x00007f9434f714a0+0x0000000000000bc4]
J 1083 C1 jdk.internal.module.Modules.defineModule(Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)Ljava/lang/reflect/Module; java.base@9-internal (12 bytes) @ 0x00007f9434f70c54 [0x00007f9434f70b00+0x0000000000000154]
J 25 C1 jdk.internal.module.ModuleBootstrap.boot()Ljava/lang/reflect/Layer; java.base@9-internal (1253 bytes) @ 0x00007f9434ca6ff4 [0x00007f9434ca67c0+0x0000000000000834]
J 21 C1 java.lang.System.initPhase2()V java.base@9-internal (11 bytes) @ 0x00007f9434ca44e4 [0x00007f9434ca44a0+0x0000000000000044]
v  ~StubRoutines::call_stub
V  [libjvm.so+0xdf7b50]  JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x950
V  [libjvm.so+0xdf65e2]  JavaCalls::call_static(JavaValue*, KlassHandle, Symbol*, Symbol*, Thread*)+0x242
V  [libjvm.so+0x1606898]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x918
V  [libjvm.so+0xef1bcb]  JNI_CreateJavaVM+0x9b
C  [libjli.so+0x3733]  JavaMain+0x83
C  [libpthread.so.0+0x7aa1]