United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6681577 : PIT: nsk/regression/b4675027 fails with -XX:+AggressiveOpts in hs12 b02

Details
Type:
Bug
Submit Date:
2008-03-28
Status:
Closed
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris
Sub-Component:
compiler
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs13 (b01)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
nsk/jdwp/ReferenceType/ConstantPool/constantPool001
nsk/logging/Handler/getEncoding/gtencd001
nsk/logging/Handler/getEncoding/gtencd002
nsk/logging/Handler/setEncoding/stencd001
nsk/logging/StreamHandler/setEncoding/setencod001
regression/jit/4131426/CollationKeyTest
nsk/regression/b4675027
nsk/regression/b4477225

fail with -XX:+AggressiveOpts in -server -Xcomp mode on sparc/sparcv9.

The failure reasons are following: 
	java.lang.ArrayIndexOutOfBoundsException
	java.nio.BufferOverflowException

These failures don't relate to the latest changes in escape analysis (-XX:-DoEscapeAnalysis doesn't help).

Can't reproduce with HS10.0-b19.

Also, I couldn't reproduce nsk/regression/b4477225 failure on vm-v240-01.sfbay, but it always fails on vm-v215-02.sfbay

Results:
/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparcv9/server/comp/vm-solaris-sparcv9_server_comp_nsk.jdwp.testlist2008-03-24-19-53-41/ResultDir/constantPool001

/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparcv9/server/comp/vm-solaris-sparcv9_server_comp_nsk.logging.testlist2008-03-24-20-00-14/ResultDir/gtencd001

/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparcv9/server/comp/vm-solaris-sparcv9_server_comp_nsk.logging.testlist2008-03-24-20-00-14/ResultDir/stencd001

/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparcv9/server/comp/vm-solaris-sparcv9_server_comp_nsk.logging.testlist2008-03-24-20-00-14/ResultDir/setencod001

/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparc/server/comp/vm-solaris-sparc_server_comp_nsk.regression.testlist2008-03-24-18-50-34/ResultDir/b4477225

/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparc/server/comp/vm-solaris-sparc_server_comp_nsk.regression.testlist2008-03-24-18-50-34/ResultDir/b4675027

/net/sqenfs-1.sfbay/export1/comp/vm/misc/results/vm/gtee/JDK_PERFORMANCE/PROMOTION/VM/6u5p/2008-03-21/AggressiveOpts/vm/solaris-sparc/server/comp/vm-solaris-sparc_server_comp_vm.regression.testlist2008-03-24-19-16-54/ResultDir/CollationKeyTest/

                                    

Comments
EVALUATION

The failures of

nsk/jdwp/ReferenceType/ConstantPool/constantPool001
nsk/logging/Handler/getEncoding/gtencd001
nsk/logging/Handler/getEncoding/gtencd002
nsk/logging/Handler/setEncoding/stencd001
nsk/logging/StreamHandler/setEncoding/setencod001
regression/jit/4131426/CollationKeyTest
nsk/regression/b4477225

are duplicates of 6636352 but nsk/regression/b4675027 is a new one caused by EA.  EA takes about 10 minutes for one of the methods which makes the test timeout.  So this bug is only about the failure of b4675027 since the others have been fixed under 6636352.
                                     
2008-04-01
EVALUATION

C2 spends > 60% in escape Analysis code during test nsk/regression/b4675027.
Most of the time it spends in ConnectionGraph::remove_deferred().
                                     
2008-04-02



Hardware and Software, Engineered to Work Together