RFR: 8369019: Improve timed-park mechanism in ObjectMonitor for virtual thread support [v4]

Patricio Chilano Mateo pchilanomate at openjdk.org
Tue Oct 7 18:36:33 UTC 2025


On Tue, 7 Oct 2025 04:08:50 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Move test to RetryMonitorEnterWhenPinned.java and add timed-variants
>
> src/hotspot/share/runtime/objectMonitor.inline.hpp line 147:
> 
>> 145: 
>> 146: inline void ObjectMonitor::inc_unmounted_vthreads() {
>> 147:   assert(_unmounted_vthreads >= 0, "");
> 
> Suggestion:
> 
>   assert(_unmounted_vthreads >= 0, "invariant");
> 
> Here and below - thanks.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27597#discussion_r2411544003


More information about the hotspot-runtime-dev mailing list