RFR: 8351655: Optimize ObjectMonitor::unlink_after_acquire() [v2]
Fredrik Bredberg
fbredberg at openjdk.org
Thu Mar 20 14:56:30 UTC 2025
On Wed, 19 Mar 2025 22:28:46 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
>> Fredrik Bredberg has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update after review
>
> src/hotspot/share/runtime/objectMonitor.cpp line 1284:
>
>> 1282: // We converted the entire entry_list from a singly linked list
>> 1283: // into a doubly linked list. Now we just need to set the tail
>> 1284: // pointer.
>
> This could also be the empty list case so comment could be improved to separate those two cases. No need to change it if we assert list can’t be empty at the beginning.
No changed since I now assert that the list can’t be empty.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24078#discussion_r2005830972
More information about the hotspot-runtime-dev
mailing list