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

Daniel D.Daugherty dcubed at openjdk.java.net
Tue Apr 27 23:55:53 UTC 2021


On Wed, 14 Apr 2021 00:08:52 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> The synopsis pretty much says it all. There's a more detailed history in the RFE itself.
> 
> Currently running the new test thru Mach5 Tier[1-7].
> I've run the test thru several 12 hour runs on my MBP13 and
> on my Linux-X64 server.

It is not really useful to compare with the counter based M&M tests
because this test is exercising/stressing a different API. It could be
useful to compare this test to runtime/Thread/SuspendAtExit.java
which is a test that was also updated to be time based instead of
counter based.

I am reworking the remaining existing counter based Thread-SMR tests with
a different bug ID (https://bugs.openjdk.java.net/browse/JDK-8266130),
but that is a work-in-progress.

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

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


More information about the serviceability-dev mailing list