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

JMXMP ConnectorClient.close leaks FetchNotification thread

XMLWordPrintable

        JMXMP connector client. It works well with RMI.

        1) connect
        2) add notification listeners
        3) close
        4) A thread is leaked.

        Stack of leaked thread.

        "Thread-5" daemon prio=4 tid=0x0019ab08 nid=0x1c in Object.wait() [0xeb0ff000..0xeb0ff948]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xf1238468> (a [I)
        at java.lang.Object.wait(Object.java:474)
        at com.sun.jmx.remote.generic.ClientSynchroMessageConnectionImpl.sendWithReturn(ClientSynchroMessageConnectionImpl.java:191)
        - locked <0xf1238468> (a [I)
        at javax.management.remote.generic.ClientIntermediary$GenericClientNotifForwarder.fetchNotifs(ClientIntermediary.java:864)
        at com.sun.jmx.remote.opt.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs(ClientNotifForwarder.java:420)
        at com.sun.jmx.remote.opt.internal.ClientNotifForwarder$NotifFetcher.run(ClientNotifForwarder.java:318)
        at java.lang.Thread.run(Thread.java:595)

              sjiang Shanliang Jiang (Inactive)
              jfdenise Jean-Francois Denise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: