JDK-7049928 : VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs21,7
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-31
  • Updated: 2013-09-12
  • Resolved: 2011-06-04
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 JDK 8 Other
7Fixed 8Fixed hs21Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
VM could crash with:
;; Using jvm: "/export/local/common/jdk/baseline/solaris-i586/jre/lib/i386/client/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/B/091209.jcoomes/source/src/share/vm/oops/methodOop.cpp:63), pid=11648, tid=47
#  assert(_adapter != NULL) failed: must have
#
# JRE version: 7.0-b144
# Java VM: Java HotSpot(TM) Client VM (21.0-b15-internal-201105280912.jcoomes.hs21-b15-snapshot-fastdebug compiled mode, sharing solaris-x86 )
# Core dump written. Default location: /export/local/51227.HSX.PIT.VM+solaris-i586_vm__client_comp_nsk.stress.testlist/results/ResultDir/jck12a004/core or core.11648
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/deaa3ce90583
09-06-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/9dd6c4ba364f
09-06-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/deaa3ce90583
04-06-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/9dd6c4ba364f
02-06-2011

EVALUATION This line was a mistake. It should be changed back. --- old/src/share/vm/oops/methodOop.cpp Thu May 19 17:39:32 2011 +++ new/src/share/vm/oops/methodOop.cpp Thu May 19 17:39:17 2011 @@ -717,7 +720,7 @@ // called from the vtable. We need adapters on such methods that get loaded // later. Ditto for mega-morphic itable calls. If this proves to be a // problem we'll make these lazily later. - (void) make_adapters(h_method, CHECK); + if (UseCompiler) (void) make_adapters(h_method, CHECK); // ONLY USE the h_method now as make_adapter may have blocked
01-06-2011