RFR: 8231269: CompileTask::is_unloaded is slow due to JNIHandles type checks [v11]

Aleksey Shipilev shade at openjdk.org
Thu May 8 12:50:54 UTC 2025


On Wed, 7 May 2025 19:54:04 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Move to oops
>
> src/hotspot/share/oops/unloadableMethodHandle.inline.hpp line 51:
> 
>> 49:     // Method holder class cannot be unloaded.
>> 50:     return nullptr;
>> 51:   }
> 
> This is nice that this doesn't require creating a jni handle for unloadable class loaders with this change.

Right? Wasteful to even go through all this dance for compiling JDK methods :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24018#discussion_r2079651140


More information about the hotspot-gc-dev mailing list