Temporary location: http://jira.jboss.com/jira/browse/JBPROFILER-1


I've worked in a new version for JBossProfiler using JVMTI (in another words, 
Java 5).

For those who are new to Java 5, JVMTI means Java Virtual Machine Tool 
Interface. A C/C++ JNI Interface that captures events from profiling.

Well, it happens that I just started to working on this, and I started by a 
feature that I didn't have in the previous implementation, heap navigation.

There is some nice features I'm seeing at this memory profiler, like to trace 
relationships in any direction without having to make any filter. Just collect 
everything you have in the memory.

A good and strong point on this implementation is that I'm mixing the use of 
JNI and JVMTI. As a consequence, we can control all the events of the life 
cycle through a MBean.

For example, the heap creation event is started through a MBean method.

Well, even if you want to use Jboss-profiler standalone you will be able to 
make direct use of the POJO class I'm using.

There is also a non profiler related method which is very nice to be used. 
getLoadedClasses, or forceGC. I tried to create also getLoadedObjects but due 
to obvious security reasons they API didn't have a break to do that.


I've placed the files (including an initial documentation draft) in a temporary 
location:

http://jira.jboss.com/jira/browse/JBPROFILER-1


I would be glad if people starting inputing feedback through this thread. 
For example, what other methods would be good to have in the MBean interface.


Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873353#3873353

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873353


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to