RFR: 8372098: Move AccessFlags to InstanceKlass [v5]

Coleen Phillimore coleenp at openjdk.org
Mon Dec 1 22:55:52 UTC 2025


On Mon, 1 Dec 2025 22:09:27 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Added a comment for checking interface guard after array guard.
>
> src/hotspot/share/opto/library_call.cpp line 4104:
> 
>> 4102:       phi->add_req(makecon(TypeInstPtr::make(env()->Object_klass()->java_mirror())));
>> 4103:     }
>> 4104:     // Check for interface after array since this checks AccessFlags offset into InstanceKlass.
> 
> In other words, we are accessing subtype-specific information, so we need to determine the subtype first.

I can add this to the comment if you think it's helpful.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28371#discussion_r2578992154


More information about the serviceability-dev mailing list