RFR: 8369019: Improve timed-park mechanism in ObjectMonitor for virtual thread support [v2]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Fri Oct 3 19:55:23 UTC 2025
On Fri, 3 Oct 2025 19:02:23 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix typos
>
> src/hotspot/share/runtime/objectMonitor.cpp line 1108:
>
>> 1106: // Note that we can have false positives where timed-park is not necessary.
>> 1107: bool do_timed_parked = has_unmounted_vthreads();
>> 1108: static int MAX_RECHECK_INTERVAL = 1000;
>
> Is this a constant? This is the same as the enter case, should there be only one?
Yes, I moved it to a global static.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27597#discussion_r2403195006
More information about the hotspot-runtime-dev
mailing list