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

Thomas Schatzl tschatzl at openjdk.org
Fri Dec 12 09:41:13 UTC 2025


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

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

Commit messages:
 - 8373510

Changes: https://git.openjdk.org/valhalla/pull/1788/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1788&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373510
  Stats: 25 lines in 1 file changed: 1 ins; 19 del; 5 mod
  Patch: https://git.openjdk.org/valhalla/pull/1788.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1788/head:pull/1788

PR: https://git.openjdk.org/valhalla/pull/1788


More information about the valhalla-dev mailing list