RFR: 8351655: Optimize ObjectMonitor::unlink_after_acquire()

Coleen Phillimore coleenp at openjdk.org
Wed Mar 19 18:51:11 UTC 2025


On Mon, 17 Mar 2025 13:11:58 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:

> This PR implements an optimization of `ObjectMonitor::unlink_after_acquire()`. If it's possible it only converts the first part (the singly linked part) of the `entry_list` into a doubly linked list and leave the _entry_list_tail pointer untouched. 
> 
> It has passed tier1-tier8 tests.

This looks really good.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24078#pullrequestreview-2699698452


More information about the hotspot-runtime-dev mailing list