JDK-6992037 : assert(SharedSkipVerify || is_null() || obj->is_klass()) failed: not a klassOop in MethodHandlesTest
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-14
  • Updated: 2012-02-01
  • Resolved: 2010-12-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
Test
	java/dyn/MethodHandlesTest.java

crashes with

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/B/163806.jcoomes/source/src/share/vm/runtime/handles.hpp:133), pid=22906, tid=15
#  assert(SharedSkipVerify || is_null() || obj->is_klass()) failed: not a klassOop

tack: [0xfffffd7fe2044000,0xfffffd7fe2144000],  sp=0xfffffd7fe21405b0,  free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x2485615];;  void VMError::report(outputStream*)+0x6c5
V  [libjvm.so+0x24866bc];;  void VMError::report_and_die()+0x4d8
V  [libjvm.so+0xde50a7];;  void report_vm_error(const char*,int,const char*,const char*)+0x55f
V  [libjvm.so+0x1b03cd2];;  void LinkResolver::resolve_invoke(CallInfo&,Handle,constantPoolHandle,int,Bytecodes::Code,Thread*)+0xed2
V  [libjvm.so+0x12ed57f];;  void InterpreterRuntime::resolve_invoke(JavaThread*,Bytecodes::Code)+0x17eb
j  org.junit.internal.runners.statements.RunAfters.evaluate()V+86
...

Comments
EVALUATION This seems to be a duplicate of 7007377. I did extensive testing of the failing testcase on vm-conroe-02 and no crash happened with the fix of 7007377 applied. If it does happen again, please reopen.
20-12-2010

PUBLIC COMMENTS I'd guess that one is also because of UseParallelOldGC (see 6992035).
14-10-2010