Re: Garbage collection problem due to JMX?
Posted By:
Anonymous
Posted On:
Thursday, November 11, 2004 02:19 PM
MBeans will not get garbaged collected when they are registered to the MBeanServer.
That's the point. They live on because they are now accessable via the MBeanServer. If they were to get collected, they would not be available when you wanted to access the MBean Service via RMI, HTTP, and IIOP.
Also whatever is referenced by the MBeans attached to the servers will not get GC'ed either.
Hope this helps.
Cheers