[lworld] RFR: 8271234: [lworld] InlineTypeBaseNode::merge_with fails with assert(i < _cnt)

Tobias Hartmann thartmann at openjdk.java.net
Tue Aug 3 14:32:02 UTC 2021


Transformation of phis in `InlineTypeBaseNode::merge_with` during IGVN can lead to other, not yet processed, phi nodes to be transformed as well, before their inputs are adjusted. In the failing case, a phi input is removed. The fix is to delay transformation of the phis during IGVN by adding them to the worklist.

Thanks,
Tobias

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

Commit messages:
 - Typo in comment
 - 8271234: [lworld] InlineTypeBaseNode::merge_with fails with assert(i < _cnt)

Changes: https://git.openjdk.java.net/valhalla/pull/517/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=517&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271234
  Stats: 27 lines in 3 files changed: 23 ins; 2 del; 2 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/517.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/517/head:pull/517

PR: https://git.openjdk.java.net/valhalla/pull/517


More information about the valhalla-dev mailing list