[lworld] RFR: 8378247: [lworld] Move ciKlass::can_be_inline_klass to ciType

Tobias Hartmann thartmann at openjdk.org
Thu Feb 19 13:19:07 UTC 2026


Moving `ciKlass::can_be_inline_klass` to `ciType` will simplify code and also avoid static analysis to complain about that `obj_type` in `GraphBuilder::monitorenter` could not be a `ciKlass` (which I think is a false positive, but hard to prove).

Thanks,
Tobias

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

Commit messages:
 - 8378247: [lworld] Move ciKlass::can_be_inline_klass to ciType

Changes: https://git.openjdk.org/valhalla/pull/2139/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2139&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8378247
  Stats: 13 lines in 4 files changed: 4 ins; 4 del; 5 mod
  Patch: https://git.openjdk.org/valhalla/pull/2139.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2139/head:pull/2139

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


More information about the valhalla-dev mailing list