RFR: 8345678: compute_modifiers should not be in create_mirror
Coleen Phillimore
coleenp at openjdk.org
Mon Dec 9 13:08:41 UTC 2024
On Fri, 6 Dec 2024 22:00:14 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This moves the modifier_flag computation to when InstanceKlass, ObjArrayKlass and TypeArrayKlass are created.
>
> Tested with jck:vm and tier1-4.
The JVM call is Class.getModifiers() and there are compiler intrinsics because I guess performance matters for this call. Although maybe a future RFE could be to add this field to java.lang.Class and have the JVM set it instead and remove the intrinsic.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22618#issuecomment-2527876290
More information about the serviceability-dev
mailing list