[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: JBAS-4593 -- Leaking classloader via JMX Notifications
clebert.suconic@jboss.com
do-not-reply at jboss.com
Fri Aug 17 10:58:56 EDT 2007
I could see is UnifiedLoaderRepository3 indeed sends a notificaton of the classLoader... and if you buffer such notification that would generate a leak.
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/jmx/src/main/org/jboss/mx/loading/UnifiedLoaderRepository3.java
I don't know how to avoid the buffer on the sun's implementation.
One thing that I thought though, was to make the attribute source on javax.management.Notification a WeakReference, but sounds a weird solution. (Brain storm).
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/jmx/src/main/javax/management/Notification.java
Another possibility would be to not send ClassLoading notifications when using Sun's JMX? (Another brain storm)
This is a job for JMX/ClassLoader experts.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075251#4075251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075251
More information about the jboss-dev-forums
mailing list