RFR: 8264731: Introduce InstanceKlass::method_at_itable_or_null() [v2]

Vladimir Ivanov vlivanov at openjdk.java.net
Tue Apr 6 13:05:19 UTC 2021


On Tue, 6 Apr 2021 02:01:29 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Cleanups
>
> src/hotspot/share/oops/instanceKlass.cpp line 3179:
> 
>> 3177: 
>> 3178: Method* InstanceKlass::method_at_itable_or_null(InstanceKlass* holder, int index, bool& itable_entry_found) {
>> 3179:   klassItable itable(this);
> 
> I think  you need a ResourceMark before this.

Can you elaborate, please, why you think so? 
I don't see anything in `klassItable` which may allocate in the resource arena.

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

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


More information about the hotspot-runtime-dev mailing list