United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6868486 timeouts and outOfMemory in regression tests
JDK-6868486 : timeouts and outOfMemory in regression tests

Details
Type:
Bug
Submit Date:
2009-08-04
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2009-08-22
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P5
Resolution:
Fixed
Affected Versions:
hs16
Fixed Versions:
hs16 (b08)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Nightly testing uses some very old sparc machine which are slow, have one cpu(core) and <= 1Gb memory.
Such machines are not server class for VM so it use Serial GC wich also slowdown execution time.


To solve it increase timeout for next tests

test/closed/runtime/6559877
test/compiler/6826736

And increase heap size for next test which get OutOfMemoryError with default values for Serial GC.

test/compiler/6851282

----------------------------------
command: main Test6559877
reason: Assumed action based on file name: run main Test6559877 
elapsed time (seconds): 360.03
----------System.out:(2/72)----------
Checking all 1-byte combinations...
Checking all 2-byte combinations...
----------System.err:(0/0)----------
result: Error. Program `/export/local/common/jdk/baseline/solaris-sparcv9/bin/java' interrupted! (timed out?)



----------------------------------
command: main  -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:+ScavengeALot -XX:+UseCompressedOops -XX:HeapBaseMinAddress=32g -XX:CompileThreshold=100 -XX:CompileOnly=Test.test -XX:-BlockLayoutRotateLoops -XX:LoopUnrollLimit=0 Test
reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:+ScavengeALot -XX:+UseCompressedOops -XX:HeapBaseMinAddress=32g -XX:CompileThreshold=100 -XX:CompileOnly=Test.test -XX:-BlockLayoutRotateLoops -XX:LoopUnrollLimit=0 Test 
elapsed time (seconds): 360.022
----------System.out:(3/52)----------
Warmup 1 is done.
Warmup 2 is done.
Warmup is done.
----------System.err:(0/0)----------
result: Error. Program `/export/local/common/jdk/baseline/solaris-sparc/bin/java' interrupted! (timed out?)



----------------------------------
command: main  -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops Test
reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops Test 
elapsed time (seconds): 269.049
----------System.out:(0/0)----------
----------System.err:(14/737)----------
java.lang.OutOfMemoryError: Java heap space
	at java.util.ArrayList.toArray(ArrayList.java:326)
	at Test.main(Test.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:623)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)

JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Java heap space
JavaTest Message: shutting down test

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2b9164d13ce9
                                     
2009-08-05
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/2b9164d13ce9
                                     
2009-08-10



Hardware and Software, Engineered to Work Together