RFR(S): 8061486: [TESTBUG] compiler/whitebox/ tests fail : must be osr_compiled (reappeared in nightlies)
tobias.hartmann at oracle.com
Thu Oct 23 07:25:45 UTC 2014
On 22.10.2014 23:24, Vladimir Kozlov wrote:
> Looks good. Did you tested both Tiered and non-Tiered compilation?
Yes, I tested with the following flags:
> On 10/22/14 7:49 AM, Tobias Hartmann wrote:
>> please review the following patch.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8061486
>> Webrev: http://cr.openjdk.java.net/~thartmann/8061486/webrev.00/
>> JDK-8060454 added a deoptimization before triggering the OSR compilation to
>> avoid non-OSR compilations blocking OSR compilations.
>> This is not sufficient because non-OSR compilations may also be triggered at
>> backedges while the loop is being executed (if the backedge threshold is not yet
>> reached but the invocation threshold is).
>> Call warmup code from OSR triggering method, make sure non-OSR compilation is
>> triggered and wait for completion until OSR compilation is triggered.
>> - Failing test on Windows and Linux
>> - Whitebox tests with different parameters on JPRT
>>  See 'AdvancedThresholdPolicy::method_back_branch_event()':
>> // Use loop event as an opportunity to also check if there's been
>> // enough calls.
More information about the hotspot-compiler-dev