-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2, 5.0
-
b13
-
sparc
-
solaris_8, solaris_9
-
Verified
Name: asR10013 Date: 11/28/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b08
Testbase : RegTest-CTE
Platform[s] : Solaris 9 (sparc), Solaris 8 (sparc)
Falling test[s]:
CTE_REGTEST/Generic/4344895/Adapters5.java
RegTest-CTE CTE_REGTEST/Generic/4344895/Adapters5.java test fails on Sparc using JDK1.4.2-b08.
The test passes using JDK1.4.1-b21 and JDK1.4.2_01-b02.
test.out contains the following:
..
..
Iteration: 3500000
Exception in thread "main" java.lang.StackOverflowError
at java.lang.System.arraycopy(Native Method)
at java.lang.String.getChars(String.java:489)
at java.lang.StringBuffer.append(StringBuffer.java:393)
at Adapters5.main(Adapters5.java:31)
Fatal exception occured. Program will exit.
VM option '-Inline'
VM option '+DeoptimizeALot'
VM option 'CompileOnly=Adapters5.main'
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4344895/Adapters5.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/sparc/sol9_sparc_novo48/workDir/cte/CTE_REGTEST/Generic/4344895/Adapters5.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
JT_HOME="/java/re/jct-tools/3.1/archive/fcs/binaries"
JAVA_HOME="/java/re/jdk/1.4.2/promoted/latest/binaries/solaris-sparc"
#JAVA_HOME="/java/re/jdk/1.4.2/promoted/beta/b04/binaries/solaris-sparc"
TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.4.2/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-client"
TESTVMOPTS=" -showversion -Xmixed"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
export JAVA_HOME
export JT_HOME
export TESTWITH
export CLASSPATH
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
#rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="novo48" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/CTE_REGTEST/Generic/4344895/Adapters5.java"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/132)----------
command: shell Test4344895.sh
reason: User specified action: run shell/timeout=1000 Test4344895.sh
elapsed time (seconds): 60.158
----------System.out:(0/0)----------
----------System.err:(1/35)----------
java full version "1.4.2-beta-b08"
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Specific machine info:
======================
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
Hostname: linux-1
OS: Solaris 8 (sparc) (CDE)
======================================================================
- relates to
-
JDK-4344895 SPARC only: Stack overflow from bad interaction of osr and deoptimization
- Resolved
-
JDK-4924547 REGRESSION: Regression-cte CTE_REGTEST/Generic/4344895/Adapters5.java fails
- Closed