RFR(S): 8008211 : Some of WB tests on compiler fails

Igor Ignatyev igor.ignatyev at oracle.com
Tue Feb 19 12:12:49 PST 2013


There are two different reasons for this failure:

    1. with '-Xcomp':
CompilerWhiteBoxTest#method() is inlined into #compile() on first 
invocation of #test(). so 'WHITE_BOX.setDontInlineMethod(METHOD, true)' 
does nothing; #method() isn't compiled;

    2. with '-XX:+TieredCompilation' and certain relation between 
'CompileThreshold' and 'Tier*' values (e.g. -XX:CompileThreshold=100 and 
default Tier* values):
since 'CompileThreshold' doesn't use in Tiered as threshold, but uses in 
tests we have situation in which CompilerWhiteBoxTest#compile() invokes 
#method() insufficient time for compilation;

Best regards,
Igor Ignatyev

On 02/19/2013 10:49 PM, Vladimir Kozlov wrote:
> Igor,
>
> Can you give mode details about the failure?
>
> Thanks,
> Vladimir
>
> On 2/19/13 9:37 AM, Igor Ignatyev wrote:
>> Hi all,
>>
>> Please review the patch.
>>
>> 1. calls of WB.setDontInlineMethod() were moved into main()
>> 2. added estimation of threshold for tiered compilation
>>
>> webrev: http://cr.openjdk.java.net/~iignatyev/8008211/webrev.00/


More information about the hotspot-compiler-dev mailing list