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

Yi Yang yyang at openjdk.java.net
Tue May 18 03:02:40 UTC 2021


On Tue, 18 May 2021 02:27:17 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:
> 
>   remove -XX:TieredStopAtLevel=4

Thanks Tobias and Vladimir for reviews!

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

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


More information about the hotspot-compiler-dev mailing list