Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8209446

Unexpected thread count in reset002/TestDescription.java

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: core-svc

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikael Mikael Vidstedt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: