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

[TEST_BUG] javax/management/monitor/CounterMonitorTest.java hangs

    Details

      Backports

        Description

        javax/management/monitor/CounterMonitorTest.java hang issue was ever reported and fixed in JDK-8065764, but after JDK-8065764, we still see this test hang at Linux platform.


        ----------System.out:(2005/76023)----------
        >>> CREATE a new CounterMonitor MBean
        >>> ADD a listener to the CounterMonitor
        >>> CREATE a new StdObservedObject MBean
        >>> SET the attributes of the CounterMonitor:
        ATTRIBUTE "ObservedObject" = DefaultDomain:type=StdObservedObject
        ATTRIBUTE "ObservedAttribute" = NbObjects
        ATTRIBUTE "Notify" = true
        ATTRIBUTE "Threshold" = 2
        ATTRIBUTE "GranularityPeriod" = 10
        ATTRIBUTE "Modulus" = 7
        ATTRIBUTE "DifferenceMode" = true
        >>> START the CounterMonitor
        >>> Set data = 0
        >>> StdObservedObject.setNbObjects: 0
        >>> StdObservedObject.getNbObjects: 0
        >>> Set data from 0 to 3
        >>> StdObservedObject.setNbObjects: 3
        >>> StdObservedObject.getNbObjects: 3
        doWait in Counter Monitor
        >>> StdObservedObject.getNbObjects: 3
        >>> StdObservedObject.getNbObjects: 3
        >>> StdObservedObject.getNbObjects: 3
        ...
        ...
        test result: Error. Program `/Users/aurora/CommonData/jdk/bin/java' interrupted! (timed out?)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sjiang Shanliang Jiang (Inactive)
                  Reporter:
                  amlu Amy Lu (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: