-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b26
-
sparc, itanium
-
linux, solaris_9, windows_2003
-
Verified
Name: erR10175 Date: 07/31/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b12, JDK1.5.0-b11
(This is a new Regression test which is absent in previous JDKs)
Testbase : RegTest-test
Platform[s] : Windows 2003 Enterprise (Itanium), RedHat Advanced Server 2.1 (Itanium)
(not reproducible on 32-bit platforms)
switch/Mode : -client, -server
Falling tests : java/lang/management/MemoryMBean/LowMemoryTestAllGC.sh
RegTest-test java/lang/management/MemoryMBean/LowMemoryTestAllGC.sh test fails with
JDK1.5.0-b12 on 64-bit platforms.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/lang/management/MemoryMBean/LowMemoryTestAllGC.sh
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b12/regtest/win32/redhat7.2_gnome_smp_-server_smp_JCC-ITANIUM-02/workDir/test/java/lang/management/MemoryMBean/LowMemoryTestAllGC.jtr
How to reproduce:
=================
Run the following script (you may need to change it's variables)
--- script start ---
#!/bin/sh
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
JT_HOME="h:/java/jct"
JAVA_HOME="h:/java/jdk1.5.0/win32"
TEST_BASE_PATH="h:/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
export CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar;$JT_HOME/jemmy/jemmy.jar"
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="JCC-ITANIUM-02" -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/java/lang/management/MemoryMBean/LowMemoryTestAllGC.sh"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/135)----------
command: shell LowMemoryTestAllGC.sh
reason: User specified action: run shell LowMemoryTestAllGC.sh
elapsed time (seconds): 15.96
----------System.out:(25/976)----------
runOne LowMemoryTest
Setting threshold for Tenured Gen from 0 to 2000000. Current used = 0
AllocatorThread is doing task 1
Sensor notification count = 1 Prev count = 0
SweepThread is doing task 1
AllocatorThread is doing task 2
Sensor notification count = 2 Prev count = 1
SweepThread is doing task 2
AllocatorThread is doing task 3
Sensor notification count = 3 Prev count = 2
SweepThread is doing task 3
AllocatorThread is doing task 4
Sensor notification count = 4 Prev count = 3
SweepThread is doing task 4
AllocatorThread is doing task 5
Sensor notification count = 5 Prev count = 4
SweepThread is doing task 5
Test passed.
runOne -XX:+UseParallelGC LowMemoryTest
Setting threshold for PS Old Gen from 0 to 2000000. Current used = 0
AllocatorThread is doing task 1
Invoking GC to force low memory detection to happen.
Sensor notification count = 1 Prev count = 0
TEST FAILED: GC invoked.
SweepThread is doing task 1
----------System.err:(4/228)----------
java.lang.RuntimeException: Unexpected number of triggers = 1 but expected to be 5
at LowMemoryTest$TestListener.checkResult(LowMemoryTest.java:48)
at LowMemoryTest.main(LowMemoryTest.java:133)
Exception in thread "main"
result: Failed. Execution failed: exit code 2
Specific machine info:
======================
Hostname: JCC-ITANIUM-02
OS: Windows 2003 Enterprise
======================================================================
Specific machine info:
======================
Hostname: JCC-ITANIUM-01
OS: RedHat Linux 2.1 Adv. Server (ia64)
Included the machine info from 4910019.
###@###.### 2003-08-21
- duplicates
-
JDK-4945411 Regression-test java/management/MemoryMBean/LowMemoryTestAllGC.sh fails
- Closed
-
JDK-4910019 RegTest-test java/lang/management/MemoryMBean/LowMemoryTestAllGC.sh failed, ia64
- Closed