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: 6887948
Votes 0
Synopsis test/gc/6845368/bigobj.java fails due to timeout
Category hotspot:garbage_collector
Reported Against
Release Fixed hs17(b04), 7(b75) (Bug ID:2184793)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 6845368 , 6887978
Submit Date 02-OCT-2009
Description
Partial jtr log from a run on a slow machine:

#Test Results (version 2)
#Tue Sep 29 08:34:12 EDT 2009
#checksum:5f8e64b2fcd7dfcf
#-----testdescription-----
$file=/export/local/common/testbase/jtreg/HS_REGRESSION/test/gc/6845368/bigobj.java
$root=/export/local/common/testbase/jtreg/HS_REGRESSION/test
author=John Coomes
keywords=bug6845368 othervm
run=USER_SPECIFIED main/othervm -Xmx64m bigobj\n
source=bigobj.java
title=ensure gc updates references > 64K bytes from the start of the obj

#-----environment-----

#-----testresult-----
description=file:/export/local/common/testbase/jtreg/HS_REGRESSION/test/gc/6845368/bigobj.java
end=Tue Sep 29 08:34:12 EDT 2009
environment=regtest
execStatus=Error. Can't load test: java.lang.ClassNotFoundException: bigobj
javatestOS=SunOS 5.10 (sparc)
javatestVersion=4.1.3a
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Tue Sep 29 08:27:46 EDT 2009
test=gc/6845368/bigobj.java
work=/export/local/22053.JDK7.NIGHTLY.VM+solaris-sparc_server_comp_HS_REGRESSION/results/workDir/gc/6845368

#section:script_messages
----------messages:(5/291)----------
JDK under test: (/export/local/common/jdk/baseline/solaris-sparc)
java version "1.7.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.7.0-ea-fastdebug-b72)
OpenJDK Server VM (build 17.0-b01-2009-09-29-001524.cf231476.6886353-fastdebug, mixed mode)
Timeout signalled after 360 seconds

#section:build
----------messages:(3/92)----------
command: build bigobj
reason: Named class compiled on demand
elapsed time (seconds): 360.08
result: Passed. Build successful

#section:compile
----------messages:(3/177)----------
command: compile /export/local/common/testbase/jtreg/HS_REGRESSION/test/gc/6845368/bigobj.java
reason: .class file out of date or does not exist
elapsed time (seconds): 360.013
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Error. Compilation failed
Posted Date : 2009-10-02 22:30:13.0

The name of test which fails:
gc/6845368/bigobj.java
Posted Date : 2009-10-05 14:44:19.0
Work Around
N/A
Evaluation
The time it takes to compile the test program with javac exceeds the default timeout on some machines.  bigobj.java contains a class with almost 64K fields, which exposes a corner case in javac performance.  Increase the timeout to avoid the failure.
Posted Date : 2009-10-02 22:30:13.0

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/8afee153274a
Posted Date : 2009-10-05 15:07:50.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang