United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6879943 CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029
JDK-6879943 : CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029

Details
Type:
Bug
Submit Date:
2009-09-08
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs16
Fixed Versions:
hs17 (b08)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

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

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.
                                     
2009-09-28
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/614b7e3a9f48
                                     
2010-01-16
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
                                     
2010-01-19



Hardware and Software, Engineered to Work Together