JDK-6868486 : timeouts and outOfMemory in regression tests
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs16
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-08-04
  • Updated: 2010-04-03
  • Resolved: 2009-08-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u18Fixed 7Fixed hs16Fixed
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-gc/hotspot/rev/2b9164d13ce9
10-08-2009

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