JDK-4965979 : CTW assertion at ciInstanceKlass.hpp, 107
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2003-12-10
  • Updated: 2004-06-08
  • Resolved: 2004-03-08
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.
Other
5.0 b42Fixed
Related Reports
Relates :  
Description

Name: fh87463			Date: 12/09/2003



Following assertion occur when running Compile The World tests on solsparc/solx86/linux platform.

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/ciInstanceKlass.hpp:107]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  Internal Error (/net/prt-solsparc-q1-6/tmp/PrtBuildDir/workspace/src/share/vm/ci/ciInstanceKlass.hpp, 107 [ Patched ]), pid=8940, tid=8
#
# Java VM: Java HotSpot(TM) Server VM (20031204062243.nips.c2_baseline_to_main_baseline-debug mixed mode)
#
# Error: assert(is_loaded(),"must be loaded")
# An error report file with more information is saved as hs_err_pid8940.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Please look into rerun scripts for more detail.

#########################
# To reproduce the bug:
#########################
1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]
2. edit script if needed.
3. run one of the shell scripts: 
   run.Ev_3p_client.jar.1.ksh
run.appl.jar.1.ksh
run.catalina.jar.1.ksh
run.testHelper.jar.1.ksh
run.testHelper.jar.27.ksh

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b42 tiger-beta2
13-09-2004

EVALUATION May be related to Tom's fix for 4962591. ###@###.### 2003-12-09 This failure appeared with the putback 20031117154426.rasbold.c2_baseline1 which fixed bug 4944478. It appears to be allowing unloaded classes to leak into the type system from the signature which causes the assert in the report. ###@###.### 2003-12-10 C2 handling of array store checks and instanceof bytecodes need to be more resiliant to unloaded classes. ###@###.### 2003-12-18 Certain CTW tests are failing when an ciKlass of an incoming parameter is unloaded. That parameter is used within the method as either the object in an "instanceof" bytecode or the source object in an array store check. Even when the only use of the non-object is to load its klass, C2 currently triggers an assertion in CI as it tries to "flatten" the alias type and queries about the ciKlass. The implemented solution is to allow such references within flatten_alias_type() to pass, just as we do for known offsets. ###@###.### 2004-03-03
03-03-2004

SUGGESTED FIX Webrev: http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/export2/archived_workspaces/main/c2_baseline/2004/20040303082644.rasbold.c2_baseline/workspace/webrevs/webrev-2004.03.03/index.html ###@###.### 2004-03-03
03-03-2004