You're right... I will implement the Field feature. And I thought about an algorithm that would make exploreClasses faster.
Actually, if I had a way to create viewers on JMX-Console, I would create links on the view in such way you could call another methods on JMX, doing a real tree navigation. Like: <a href="./jmx-callMethod(MBean="<some sort of context>", method="show-sub-methods" parameter1="" parameter2=="") References to Class org.user.SomeUserClass </href> -----Original Message----- From: Adrian Brock Sent: Thursday, March 23, 2006 10:18 AM To: Clebert Suconic Cc: Scott M Stark; QA; jboss-development@lists.sourceforge.net Subject: RE: JBAS-2972 - OOME / Redeployment leakages On Thu, 2006-03-23 at 09:52 -0600, Clebert Suconic wrote: > 1) It is slow > - It's the best I can do now, since there is no way on the API to get > such thing. I can verify later if there is a way to associate two tags > with a class on JVMTI, that would help me doing a faster navigation. > I'm not familiar with JVMTI and the doco is not very good, at least for "newbies" trying to understands the semantics of the call. I need to expermient. ;-) > 2) The formatting is not good > - Any ideas on how to improve it? I have just made a quick fix, > improved a little bit, but not much I'd like to see something like reference <- referer1.field <- referer2.field <- referer3.field And although using object.toString() is useful, it can be obscure when it doesn't include [EMAIL PROTECTED] like some of the jsr77 classes and it is totally uninformative for arrays. Similarly, some collections like linked lists or HashMaps don't show up well with the algorithm you are using. > > 3) Showing the field name > - I don't have a way on the event chain to determine what's the field > keeping a reference. It would be nice though. > http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#jvmtiObjectRe ferenceCallback http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#JVMTI_REFEREN CE_FIELD -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Chief Scientist JBoss Inc. xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development