RFR: 8341039: compiler/cha/TypeProfileFinalMethod.java fails with assertEquals expected: 0 but was: 2 [v2]

Daniel Lundén dlunden at openjdk.org
Wed Nov 12 09:33:38 UTC 2025


On Wed, 12 Nov 2025 09:14:21 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

>> Daniel Lundén has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update test/hotspot/jtreg/compiler/cha/TypeProfileFinalMethod.java
>>   
>>   Co-authored-by: Roberto Castañeda Lozano <robcasloz at users.noreply.github.com>
>
> test/hotspot/jtreg/compiler/cha/TypeProfileFinalMethod.java line 104:
> 
>> 102:                 // Make sure to inline test1 in C2 compilation
>> 103:                 "c2: { inline:[\"+" + Launcher.class.getName()+"::test1\"]," +
>> 104:                 "      PrintInlining:true }" +
> 
> Suggestion:
> 
>                 // Print the inline tree for checking
>                 "      PrintInlining:true }" +

Thanks! That one got lost in translation.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28200#discussion_r2517569502


More information about the hotspot-compiler-dev mailing list