United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6997495 correction of regression test compiler/6857159/Test6857159
JDK-6997495 : correction of regression test compiler/6857159/Test6857159

Details
Type:
Bug
Submit Date:
2010-11-04
Status:
Resolved
Updated Date:
2011-01-28
Project Name:
JDK
Resolved Date:
2010-11-19
Component:
hotspot
OS:
generic
Sub-Component:
test
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b03)

Related Reports
Backport:
Backport:

Sub Tasks

Description
http://mail.openjdk.java.net/pipermail/hotspot-dev/2010-November/003474.html

Pavel Tisnovsky wrote:

Hi all,

I prepared correction for regression test compiler/6857159/Test6857159.
This test (i.e. original version) usually runs fine on my test machine,
but it sometimes fails due to timeout which is set to 240 seconds (2
minutes) for all reg.tests by default.

My test machine is quite powerfull (Two Quad-Core AMD Opteron Processor
2350 = it's possible to run 8 threads concurrently, 8 GB memory), but
the test takes about 260 seconds on average. So I prepared two variants
of correction:

http://cr.openjdk.java.net/~ptisnovs/Test6857159correction1/
- the timeout is increased to ten minutes (600 seconds)

http://cr.openjdk.java.net/~ptisnovs/Test6857159correction2/
- the number of iterations is decreased to one half of original value
(which IMHO does not change the authenticity of this test but I may be
wrong of course)

Can anybody please review these corrections and decide which correction
(if any :) is better?

Thank you in advance,
Pavel T.

                                    

Comments
PUBLIC COMMENTS

Tom Rodriguez wrote:

I think the second is better.  It could probably be lowered further to 20000.  It's being run -Xbatch and as long as the counter is greater than CompileThreshold it will be a valid test.  Setting the CompileThreshold to something like 2000 in the test script would allow running it for even less which might be a good idea.

tom
                                     
2010-11-04
EVALUATION

See comments
                                     
2010-11-19
EVALUATION

http://hg.openjdk.java.net/jdk7/build/hotspot/rev/086898a88056
                                     
2010-12-04



Hardware and Software, Engineered to Work Together