[lworld] RFR: 8250962: [lworld] C2 should not replace redundant scalar replaceable allocations

Tobias Hartmann thartmann at openjdk.java.net
Tue Aug 4 12:37:07 UTC 2020


When searching for multiple allocations of an inline type, ignore scalar replaceable ones because they will be removed
anyway and changing the memory chain will confuse other optimizations.

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

Commit messages:
 - 8250962: [lworld] C2 should not replace redundant scalar replaceable allocations

Changes: https://git.openjdk.java.net/valhalla/pull/133/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/133/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8250962
  Stats: 9 lines in 1 file changed: 2 ins; 1 del; 6 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/133.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/133/head:pull/133

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


More information about the valhalla-dev mailing list