RFR: 8259316: [REDO] C1/C2 compiler support for blackholes

Aleksey Shipilev shade at openjdk.java.net
Wed Mar 31 15:47:24 UTC 2021


This reworks the compiler support for blackholes. The key difference against the last version (#1203) is that blackholes are only acceptable as empty static methods, which both simplifies the implementation and eliminates a few compatibility questions.

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

Commit messages:
 - Redo BlackholeIntrinsicTest to see if target blackhole methods were indeed intrinsified
 - Rename BlackholeStaticTest to BlackholeIntrinsicTest
 - BlackholeStaticTest should unlock blackholes
 - Do not print double-warning on blackhole already set
 - Add more checks for C2 intrinsic
 - Simplify intrinsic test and add warning test
 - Common the blackhole checks
 - Binding JVMCI through get_jvmci_method
 - Merge branch 'master' into JDK-8259316-blackholes-redo
 - Extend JVMCI with shouldBlackholeMethod
 - ... and 10 more: https://git.openjdk.java.net/jdk/compare/aefc1560...2fa49418

Changes: https://git.openjdk.java.net/jdk/pull/2024/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2024&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259316
  Stats: 1164 lines in 32 files changed: 1161 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2024.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2024/head:pull/2024

PR: https://git.openjdk.java.net/jdk/pull/2024


More information about the hotspot-dev mailing list