RFR: 8265153: add time based test for ThreadMXBean.getThreadInfo() and ThreadInfo.getLockOwnerName() [v4]

Daniel D.Daugherty dcubed at openjdk.java.net
Tue May 11 23:24:53 UTC 2021


On Wed, 28 Apr 2021 13:03:15 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Daniel D. Daugherty has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove unnecessary "@library /test/lib".
>
> HI Dan,
> 
> Some minor comments, but to be frank I have no idea what this test is actually doing - sorry.
> 
> Cheers,
> David

@dholmes-ora - Sorry I missed this comment:

> Some minor comments, but to be frank I have no idea what this test is actually doing - sorry.

This test stresses getThreadInfo() and ThreadInfo.getLockOwnerName() as a
JavaThread is exiting. Similar to other stress tests that I wrote for M&M in the
Thread-SMR project, but this one is targeting getting the lock owner name as
the lock owner thread is exiting.

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

PR: https://git.openjdk.java.net/jdk/pull/3478


More information about the serviceability-dev mailing list