Integrated: 8265711: C1: Intrinsify Class.getModifier method
Yi Yang
yyang at openjdk.java.net
Tue May 18 07:32:48 UTC 2021
On Thu, 22 Apr 2021 07:02:29 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.
This pull request has now been integrated.
Changeset: 905b41ac
Author: Yi Yang <yyang at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/905b41ac6ae44e5adb51cff37995cff534db47f0
Stats: 174 lines in 5 files changed: 174 ins; 0 del; 0 mod
8265711: C1: Intrinsify Class.getModifier method
Reviewed-by: thartmann, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/3616
More information about the hotspot-compiler-dev
mailing list