- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    1.0.1
- 
        04
- 
        generic
- 
        generic
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2146891 | jdmk5.1_03 | Laurence Caullet | P3 | Closed | Fixed | 03 | 
                    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)
            
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)
- backported by
- 
                    JDK-2146891 JMXMP ConnectorClient.close leaks FetchNotification thread -           
- Closed
 
-