RFR: 8265711: C1: Intrinsify Class.getModifier method [v5]

Yi Yang yyang at openjdk.java.net
Tue May 18 02:27:17 UTC 2021


> It's relatively a common case to get modifiers from a constant Class instance, i.e. ThirdPartyClass.class.getModifiers(). Currently, C1 Canonicalizer missed the opportunity of replacing Class.getModifiers intrinsic calls with compile-time constants.

Yi Yang has updated the pull request incrementally with one additional commit since the last revision:

  remove -XX:TieredStopAtLevel=4

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3616/files
  - new: https://git.openjdk.java.net/jdk/pull/3616/files/3ba69f6a..687b899d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3616&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3616&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3616.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3616/head:pull/3616

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


More information about the hotspot-compiler-dev mailing list