Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6868486
Votes 0
Synopsis timeouts and outOfMemory in regression tests
Category hotspot:compiler2
Reported Against
Release Fixed hs16(b08), 6u18(b01) (Bug ID:2181953) , 7(b71) (Bug ID:2182209)
State 10-Fix Delivered, bug
Priority: 5-Very Low
Related Bugs
Submit Date 04-AUG-2009
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
Posted Date : 2009-08-04 22:18:49.0
Work Around
N/A
Evaluation
http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2b9164d13ce9
Posted Date : 2009-08-05 04:19:37.0

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/2b9164d13ce9
Posted Date : 2009-08-10 07:37:19.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang