[lworld] RFR: 8255230: [lworld] C2 compilation fails with assert(!inline_alloc) failed: Inline type allocations should not have safepoint uses

Tobias Hartmann thartmann at openjdk.java.net
Mon Oct 26 15:21:24 UTC 2020


The problem is that sometimes an inline type can only be scalarized after Loop Optimizations or CCP when we already removed the inline type nodes from the graph and therefore lost track of individual field values. The fix is to simply keep the nodes until macro expansion.

Thanks to @mcimadamore for reporting!

Best regards,
Tobias

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

Commit messages:
 - 8255230: [lworld] C2 compilation fails with assert(\!inline_alloc) failed: Inline type allocations should not have safepoint uses

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

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



More information about the valhalla-dev mailing list