RFR: 8318757: VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor calls [v10]
Stefan Karlsson
stefank at openjdk.org
Wed Nov 15 09:22:40 UTC 2023
On Tue, 14 Nov 2023 14:43:16 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
>> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Tweak test
>
> test/hotspot/jtreg/runtime/Monitor/ConcurrentDeflation.java line 79:
>
>> 77: monitorCount++;
>> 78: }
>> 79:
>
> Nit: extra line
Fixed. While fixing this I noticed that the test uses `System.currentTimeMillis()`, which can cause problems when the clock is changed. I'm changing it to use System.nanoTime() instead.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16519#discussion_r1393896924
More information about the hotspot-dev
mailing list