RFR: 8320318: ObjectMonitor Responsible thread [v4]

Fredrik Bredberg fbredberg at openjdk.org
Fri Sep 27 07:42:18 UTC 2024


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

>> Fredrik Bredberg has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 14 commits:
>> 
>>  - Update three, after the review
>>  - Merge branch 'master' into 8320318_objectmon_responsible_thread
>>  - Update two, after the review
>>  - Update one, after the review
>>  - Small fixes before the review
>>  - Merge branch 'master' into 8320318_objectmon_responsible_thread
>>  - Merge branch 'master' into 8320318_objectmon_responsible_thread
>>  - Removed _Responsible
>>  - Fixed s390
>>  - Fixed legacy locking
>>  - ... and 4 more: https://git.openjdk.org/jdk/compare/0f253d11...8140570f
>
> src/hotspot/share/runtime/objectMonitor.cpp line 336:
> 
>> 334:       // decrement occurs when the contention_mark goes out of
>> 335:       // scope. ObjectMonitor::deflate_monitor() which is called by
>> 336:       // the deflater thread who will decrement contentions after it
> 
> Suggestion:
> 
>       // scope. ObjectMonitor::deflate_monitor() (which is called by
>       // the deflater thread) will decrement contentions after it

fixed

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

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


More information about the hotspot-dev mailing list