[lworld] RFR: 8376213: [lworld] C2: assert(is_InlineType()) failed: invalid node class: Phi/LoadP/DecodeN

Quan Anh Mai qamai at openjdk.org
Wed Feb 4 16:01:43 UTC 2026


Hi,

The issue here is that not all fields of inline types are expanded to `InlineTypeNode`s. The decision to expand them should have been done when we obtain the object, so we just need to check if the field value is a `InlineTypeNode` here.

Testing:

- [ ] tier1-4,valhalla-comp-stress, Linux-x64

Please kindly review, thanks a lot.

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

Commit messages:
 - Acmp does not work with cyclic value classes

Changes: https://git.openjdk.org/valhalla/pull/2035/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2035&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8376213
  Stats: 62 lines in 2 files changed: 60 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/valhalla/pull/2035.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2035/head:pull/2035

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


More information about the valhalla-dev mailing list