[jboss-dev-forums] [Design of JBoss Profiler] - Re: Class Leakage Tool
ngolovin
do-not-reply at jboss.com
Fri Aug 25 11:25:02 EDT 2006
Hi Clebert, either I have expressed myself way too vaguely, or you answer was for another thread.
What you are suggesting is exactly what I did. I saw the matrix and the duplicates. Then I clicked on loader references and saw there approx. 2000 references (I have removed the 200-reference limit in my copy of the references.jsp)
My problem is, I am looking for the reference, which prevents the my ClassLoader from being collected by the GC.
Do you have any suggestions on how to find this reference? As far as I understand, this reference will not be coming from the classes, which were loaded by that ClassLoader, but should come from classes loaded by parent classloaders. Is it possible to put a filter on references to show only references from classes, loaded by parent classloaders? If you have an ideea how to implement it in Java, I could implement it myself. I don't even have a clue, how to find out which classloader loaded a particular class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967510#3967510
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967510
More information about the jboss-dev-forums
mailing list