RFR: 8343840: Rewrite the ObjectMonitor lists [v2]

Fredrik Bredberg fbredberg at openjdk.org
Wed Mar 5 14:56:57 UTC 2025


On Wed, 5 Mar 2025 14:49:01 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> Maybe, but manipulate may also include "pushing to the head", which is fine to do without holding the lock.
>> I'll keep the comment as is for now, maybe this sentence will be deleted if we find a way of running exit without holding the lock, as we have talked about. If that's not possible I'll rephrase this sentence in a follow up PR.
>
> You could use the same wording we have in the comment above already just to make it consistent: `manipulate the _entry_list (except for pushing new threads to the head)`.

I promise I'll fix that in the follow up PR.

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

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


More information about the hotspot-dev mailing list