RFR: 8318757: VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor calls [v5]

Stefan Karlsson stefank at openjdk.org
Thu Nov 9 07:29:20 UTC 2023


On Thu, 9 Nov 2023 01:33:38 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Rename monitors_iterate
>
> test/hotspot/jtreg/runtime/Monitor/ConcurrentDeflation.java line 78:
> 
>> 76:             monitors[index] = new Object();
>> 77:             synchronized (monitors[index]) {
>> 78:             }
> 
> I would expect C2 to eliminate this as well. The monitors are provably thread-local so synchronization is a no-op.

Done

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16519#discussion_r1387581859


More information about the hotspot-dev mailing list