[jdk18u] RFR: 8284848: C2: Compiler blackhole arguments should be treated as globally escaping

Aleksey Shipilev shade at openjdk.java.net
Mon May 2 11:18:30 UTC 2022


Unclean backport to improve Blackhole - EA interactions. The backport is not clean, because `IRNode` needs missing constants, and `set_escape_state` does not accept third argument (description) in 18u.

Additional testing:
 - [x] `compiler/c2/irTests/blackhole` fail without the patch, pass with it
 - [x] `compiler/blackhole` continue to pass

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

Commit messages:
 - Backport 5629c7555f9bb779c57f45dfb071abbb1d87bb7d

Changes: https://git.openjdk.java.net/jdk18u/pull/118/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18u&pr=118&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8284848
  Stats: 258 lines in 6 files changed: 258 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk18u/pull/118.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18u pull/118/head:pull/118

PR: https://git.openjdk.java.net/jdk18u/pull/118


More information about the jdk-updates-dev mailing list