RFR: 8276711: compiler/codecache/cli tests failing when SegmentedCodeCache used with -Xint [v3]
    David Holmes 
    dholmes at openjdk.java.net
       
    Thu Mar  3 03:55:06 UTC 2022
    
    
  
On Thu, 3 Mar 2022 03:40:03 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Okay, so does that mean this block:
>> 
>> } else {
>>     // No TieredCompilation: we only need the non-nmethod and non-profiled code heap
>>     return (code_blob_type == CodeBlobType::NonNMethod) ||
>>            (code_blob_type == CodeBlobType::MethodNonProfiled);
>> }
>> 
>> is actually unreachable?
>
> It is reachable for `-XX:-TieredCompilation` when only C2 is used. Or when only tier1 C1 is used with `-XX:TieredStopAtLevel=1`.
Ah I see. Thanks for clarifying @vnkozlov !
-------------
PR: https://git.openjdk.java.net/jdk/pull/7650
    
    
More information about the hotspot-dev
mailing list