JDK-7123910 : Some CTW tests crash VM: is_loaded() && that->is_loaded()
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs23
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2011-12-22
Updated:2013-09-12
Resolved:2012-03-24
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.
Some CTW tests crashed the VM during HS23b08 for JDK7u4 pit. The failure is not reproducible with -Xint, but is reproducible with both -client and -server.
EVALUATION
Parse::do_checkcast() calls GraphKit::gen_checkcast() and it crashes because the object's klass is not loaded. It is not caught by the checks in Parse::do_checkcast() because obj is a pointer to an array.