RFR: 8320318: ObjectMonitor Responsible thread [v3]

Fredrik Bredberg fbredberg at openjdk.org
Fri Sep 20 13:25:44 UTC 2024


On Fri, 20 Sep 2024 05:36:40 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Fredrik Bredberg has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update two, after the review
>
> test/micro/org/openjdk/bench/vm/lang/LockUnlock.java line 315:
> 
>> 313:      * inflated.
>> 314:      */
>> 315:     @Threads(3)
> 
> Please explain this change and update the comment.

he reason I increased the number of threads from 2 to 3, was because it enabled me to increase the code coverage, and thereby execute all(?) the corner cases when doing ObjectMonitor locking. I'll update the comment.

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

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


More information about the hotspot-dev mailing list