JDK-6879943 : CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs16
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2009-09-08
  • Updated: 2011-03-08
  • Resolved: 2011-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.
JDK 6 JDK 7 Other
6u21Fixed 7Fixed hs17Fixed
Related Reports
Relates :  
Description
The C1 specific.

To reproduce run:
/net/sqenfs-1.sfbay/export1/jdk/re/6u18/promoted/all/b01/binaries/solaris-sparc/fastdebug/bin/java -client -XX:-ShowMessageBoxOnError -Xverify:all  -XX:+CompileTheWorld  -Xbootclasspath/p:/net/sqenfs-1.sfbay/export1/comp/vm/testbase/ctw/build/../jars/ibiblio/maven2/org/apache/maven/doxia/doxia-converter/1.0/doxia-converter-1.0-jar-with-dependencies.jar  -XX:CompileTheWorldStartAt=9125


Output:
CompileTheWorld (9132) : org/apache/batik/gvt/font/GVTFont
CompileTheWorld (9133) : org/apache/batik/gvt/font/GVTFontFace
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/c1_LIR.hpp:2029
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/BUILD_AREA/jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029), pid=12086, tid=7
#  Error: assert(_oprs_len[mode] < maxNumberOfOperands,"array overflow")
#
# JRE version: 6.0_18-b01
# Java VM: Java HotSpot(TM) Client VM (16.0-b08-fastdebug mixed mode solaris-sparc )
# An error report file with more information is saved as:
# /tmp/hs_err_pid12086.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 7
Dumping core ...
Abort

Comments
EVALUATION 6879943: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029 Reviewed-by: kvn, cfang Changes in 6795465 increased the number of registers killed by calls on sparc which meant that number of entries required by LIR_OpVisitState increased as well. The fix is simply to increase the size by 2. Tested with failing test. src/share/vm/c1/c1_LIR.hpp
19-01-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/614b7e3a9f48
16-01-2010

EVALUATION This is an issue with the sizing of LIR_OpVisitState that appeared with 1.6.0. It's sized based on the largest number of operands it expects to visit but it's not quite enough on sparc because a lot of things can be passed in arguments.
28-09-2009