RFR: Remove is_owning_locks() call from freeze slow path [v3]
Coleen Phillimore
coleenp at openjdk.java.net
Wed Apr 20 21:46:51 UTC 2022
On Wed, 20 Apr 2022 17:10:56 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
>> src/hotspot/share/runtime/continuationFreezeThaw.cpp line 1112:
>>
>>> 1110: return freeze_pinned_native;
>>> 1111: }
>>> 1112: if (UNLIKELY(ContinuationHelper::CompiledFrame::is_owning_locks(_cont.thread(), &map, senderf))) {
>>
>> Are there still other calls to is_owning_locks or can it be removed?
>
> Yes, it's also called for CONT_isPinned0. It can be removed too now that I look at it.
too bad, I thought they could be removed but at least they aren't platform dependent.
-------------
PR: https://git.openjdk.java.net/loom/pull/155
More information about the loom-dev
mailing list