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

Frederic Parain fparain at openjdk.org
Fri Dec 12 16:48:18 UTC 2025


On Thu, 11 Dec 2025 16:45:22 GMT, Thomas Schatzl <tschatzl 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.

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

Marked as reviewed by fparain (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/1788#pullrequestreview-3572729263


More information about the valhalla-dev mailing list