RFR: 8219555: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true [v2]

Igor Veresov iveresov at openjdk.java.net
Mon Mar 8 17:43:29 UTC 2021


On Mon, 8 Mar 2021 17:25:23 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix debugging leftover
>
> src/hotspot/share/compiler/compilationPolicy.cpp line 678:
> 
>> 676:   methodHandle max_method_h(Thread::current(), max_method);
>> 677: 
>> 678:   if (max_task != NULL && max_task->comp_level() == CompLevel_full_profile && TieredStopAtLevel > CompLevel_full_profile &&
> 
> What is value of `TieredStopAtLevel` when Tiered is off in case you have only C2 and when you have only C1?

The default (i.e. CompLevel_full_optimization == 4). It doesn't matter though on this particular line, because this in-queue change optimization is for CompLevel_full_profile compilation requests only, and that level is illegal with both C1-only and C2-only configuration (including when tiered is off). So, this if condition is never going to be true in these modes.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2864


More information about the hotspot-dev mailing list