RFR: 8259008: ArithmeticException was thrown at "Monitor Cache Dump" on HSDB [v2]
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Sat Jan 23 03:28:45 UTC 2021
On Fri, 22 Jan 2021 18:00:09 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> Yasumasa Suenaga has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>>
>> - Fix comments
>> - Merge
>> - 8259008: ArithmeticException was thrown at "Monitor Cache Dump" on HSDB
>
> test/hotspot/jtreg/serviceability/sa/TestObjectMonitorIterate.java line 78:
>
>> 76: SATestUtils.addPrivilegesIfNeeded(processBuilder);
>> 77: OutputAnalyzer SAOutput = ProcessTools.executeProcess(processBuilder);
>> 78: SAOutput.shouldHaveExitValue(0);
>
> Is it reasonable to expect at least one ObjectMonitor to be found?
> There are a couple of system threads that wait on ObjectMonitors
> so if the target VM runs for a little bit of time, there will be at least
> two contended ObjectMonitors.
Yes, we can see the monitor for reference queue at least.
This test aims to check whether SA can find the monitors.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1910
More information about the serviceability-dev
mailing list