Use jcmd 44300 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
ThreadMonitor> Test mode: access to MBean through MBeanServer
ThreadMonitor> MBeanServer: DEFAULT
# ERROR: getPeakThreadCount() returned 10, but getThreadCount() returned 9 after resetPeakThreadCount().
The following stacktrace is for failure analysis.
nsk.share.TestFailure: getPeakThreadCount() returned 10, but getThreadCount() returned 9 after resetPeakThreadCount().
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:428)
at nsk.share.Log.complain(Log.java:399)
at nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001.run(reset001.java:64)
at nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001.main(reset001.java:34)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:834)
TEST FAILED