United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6782820 Server VM fails with "unhandled implicit exception in compiled code" assertion
JDK-6782820 : Server VM fails with "unhandled implicit exception in compiled code" assertion

Details
Type:
Bug
Submit Date:
2008-12-09
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs14
Fixed Versions:
hs14 (b10)

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
Server VM fails with following assertion
#  Internal Error (nmethod.cpp:1836), pid=9523, tid=1189669184
#  Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code")
in both 32 and 64 bit jvm.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/dd70dd4c91de
                                     
2008-12-16
SUGGESTED FIX

Problem:
Regression introduced by the fix for 6773078.
LoadKlass node without control edge moved above the oop NULL check.
Note, during parsing LoadKlass node's control edge is not set
because it will be set during CCP phase when a CastPP is removed.

Solution:
Restore the code which sets a control edge for a klass load node.
Add the code which sets a control edge for a klass narrow load
node instead of DecodeN node to fix 6773078 bug.
Add the assert to check that a DecodeN node does not have
a control edge (for 6773078).

Fix verified (y/n): y, both tests from 6773078 and 6782820
                                     
2008-12-16
EVALUATION

The bug #6826736 is GC problem and it fails differently.

Yes, please, send hs_err files and if possible the test to reproduce the problem.
                                     
2009-06-12
EVALUATION

Comment added by paalst(###@###.###) : 
We still get this error with hs14-b16, 64bit vm on Redhat Linux, with -XX:+UseCompressedOops set. See bug #6826736. Please let me know if you need my hs_err files.

Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
                                     
2009-06-12



Hardware and Software, Engineered to Work Together