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

Yi Yang yyang at openjdk.java.net
Thu Apr 29 02:58:51 UTC 2021


On Wed, 28 Apr 2021 06:43:19 GMT, Yi Yang <yyang at openjdk.org> wrote:

>> 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:
> 
>   rename; redundant reloading

Thank Tobias for reviews!

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

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


More information about the hotspot-compiler-dev mailing list