RFR: 8231269: CompileTask::is_unloaded is slow due to JNIHandles type checks [v11]
Aleksey Shipilev
shade at openjdk.org
Thu May 8 12:42:54 UTC 2025
On Wed, 7 May 2025 20:28:10 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 35:
>
>> 33: #include "oops/weakHandle.inline.hpp"
>> 34:
>> 35: inline UnloadableMethodHandle::UnloadableMethodHandle(Method* method) {
>
> This should initialize method in the ctor initializer list.
Maybe, but the field is not `const`, so there seem to be no point? We also assign after assert checks `method` for us.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24018#discussion_r2079637960
More information about the hotspot-gc-dev
mailing list