Integrated: 8351655: Optimize ObjectMonitor::unlink_after_acquire()

Fredrik Bredberg fbredberg at openjdk.org
Wed Mar 26 07:33:18 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 pull request has now been integrated.

Changeset: 45a9750b
Author:    Fredrik Bredberg <fbredberg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/45a9750b2c9364a05e00cdb935ef986c0a2c3e19
Stats:     73 lines in 2 files changed: 51 ins; 14 del; 8 mod

8351655: Optimize ObjectMonitor::unlink_after_acquire()

Reviewed-by: pchilanomate, dholmes, coleenp

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

PR: https://git.openjdk.org/jdk/pull/24078


More information about the hotspot-runtime-dev mailing list