[lworld] RFR: 8260034: [lworld] C1 compilation fails with assert "should not be optimized out"

Tobias Hartmann thartmann at openjdk.java.net
Thu Jan 21 11:36:26 UTC 2021


We hit an assert during C1 compilation because an array load is optimized out. The assert is too strong. While looking at the code, I've noticed that we are always profiling array stores, even if the array is known to be a loaded, flattened array. I don't think that's needed.

Thanks,
Tobias

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

Commit messages:
 - Removed trailing whitespace
 - 8260034: [lworld] C1 compilation fails with assert "should not be optimized out"

Changes: https://git.openjdk.java.net/valhalla/pull/309/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=309&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260034
  Stats: 120 lines in 3 files changed: 92 ins; 10 del; 18 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/309.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/309/head:pull/309

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



More information about the valhalla-dev mailing list