[lworld] Integrated: 8256329: [lworld] C2 compilation fails with assert(!t->is_flat() && !t->is_not_flat()) failed: Should have been optimized out

Tobias Hartmann thartmann at openjdk.java.net
Fri Nov 13 12:49:17 UTC 2020


In rare cases, the flat array check is not processed by IGVN and therefore not optimized out. The fix is to simply add it to the worklist during parsing.

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

Commit messages:
 - 8256329: [lworld] C2 compilation fails with assert(>is_flat() && >is_not_flat()) failed: Should have been optimized out

Changes: https://git.openjdk.java.net/valhalla/pull/258/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=258&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256329
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/258.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/258/head:pull/258

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



More information about the valhalla-dev mailing list