RFR(S) : 8019915 : whitebox testClearMethodStateTest fails with tiered on sparc

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Aug 6 12:24:51 PDT 2013


Two things.
First, could you explain what do you mean under "queue overloaded"?

Could you fix all white box test to not print by default 
System.out.println("method was invoked " + count + " times");?

The same for these chagnes:
System.out.printf("Compiler queue size is %d, waiting...%n", size);

Can you put this under debugging flag (-Dverbose) so when we do normal 
jtreg runs they will not print it? They really pollute jtreg output, see 
the output file IsMethodCompilableTest.jtr from the bug report.

I think you can partially avoid the problem if you use CICompilerCount=1.

Is it possible that a method is compiled before your (401) count because 
of Tiered compilation? C1 in Tiered has threshold = 100.


On 8/6/13 12:57 AM, Igor Ignatyev wrote:
> Hi all,
> Please review patch.
> Problem:
> 'compiler/whitebox' tests fail with exception "<method_name> must be
> compiled". The problem with these tests is as follows: tests don't
> assume that compiler's queue can be overloaded at the moment of
> 'compile(I)' invocation.
> Fix:
> Waiting for empty compiler queue was added into start of 'compile(I)'.
> webrev: http://cr.openjdk.java.net/~iignatyev/8019915/webrev.00/
> jbs: https://jbs.oracle.com/bugs/browse/JDK-8019915
> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8019915
> testing: compiler/whitebox

More information about the hotspot-compiler-dev mailing list