[lworld] Integrated: 8256400: [lworld] C2 compilation fails with assert(addp->is_AddP() && addp->outcnt() > 0) failed: Don't process dead nodes

Tobias Hartmann thartmann at openjdk.java.net
Mon Nov 16 15:25:18 UTC 2020


Escape analysis does not like dead AddP nodes. We should only create them in `ArrayCopyNode::prepare_array_copy` after we've checked for bailout.

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

Commit messages:
 - 8256400: [lworld] C2 compilation fails with assert(addp->is_AddP() && addp->outcnt() > 0) failed: Don't process dead nodes

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

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


More information about the valhalla-dev mailing list