RFR: 8320318: ObjectMonitor Responsible thread [v2]

Fredrik Bredberg fbredberg at openjdk.org
Fri Sep 13 13:19:28 UTC 2024


On Wed, 11 Sep 2024 13:38:19 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Yes @coleenp, you did previously object to calling `enter_for()` from `TryLock()`,  which is why it is what it is today.
>> I'm not too proud of how it turned out, and as @dholmes-ora also pointed out , the naming is a bit confusing, so that needs to be fixed.
>
> I was actually confused because there's an enter_for() in all of the synchronizer files and didn't realize you were calling the one in ObjectMonitor.

fixed

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

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


More information about the hotspot-dev mailing list