RFR: 8372098: Move AccessFlags to InstanceKlass [v5]

Dean Long dlong at openjdk.org
Tue Dec 2 04:47:51 UTC 2025


On Mon, 1 Dec 2025 22:53:36 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> 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.

Yes, please.

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

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


More information about the serviceability-dev mailing list