RFR: 8320318: ObjectMonitor Responsible thread [v2]

Fredrik Bredberg fbredberg at openjdk.org
Wed Sep 18 18:29:25 UTC 2024


On Tue, 17 Sep 2024 13:12:43 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Good suggestion! I'll go with the "Another alternative...".
>
> Yes, that's a good suggestion.  try_enter() is already exported.  Also change the comment in try_enter():
> 
>       // TryLock avoids the CAS and handles deflation.
> 
> because it used to be a try_set_owner_from(), and now there's two reasons it can't go back.

fixed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19454#discussion_r1765515214


More information about the hotspot-dev mailing list