RFR: 8343840: Rewrite the ObjectMonitor lists [v2]

Fredrik Bredberg fbredberg at openjdk.org
Thu Feb 27 20:19:01 UTC 2025


On Thu, 27 Feb 2025 14:15:15 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Fredrik Bredberg has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update after review by David and Coleen.
>
> src/hotspot/share/runtime/objectMonitor.cpp line 735:
> 
>> 733:       assert(!has_successor(current), "invariant");
>> 734:       assert(has_owner(current), "invariant");
>> 735:       return true;
> 
> I wonder for a future RFE we can move these asserts into TryLock.

Good idea!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23421#discussion_r1974277231


More information about the hotspot-dev mailing list