[lworld] RFR: 8373510: [lworld] Remove dead code in ConstantPool::klass_at_impl()

Thomas Schatzl tschatzl at openjdk.org
Thu Dec 18 08:55:49 UTC 2025


On Fri, 12 Dec 2025 16:45:13 GMT, Frederic Parain <fparain at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this removal of dead code in `ConstantPool::klass_at_impl`. The first is about the local `inline_type_signature` that is never written to after initialization, and the default value just disables some code, the other is an `else if` condition that is subsumed by the previous `if`.
>> 
>> Testing: local compilation,:hotspot_valhalla does not show additional failures
>> 
>> Thanks,
>>   Thomas
>
> Looks good to me.
> Thank you.

Thanks @fparain @stefank for your reviews

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

PR Comment: https://git.openjdk.org/valhalla/pull/1788#issuecomment-3669163698


More information about the valhalla-dev mailing list