|Re: MAT library API [message #509774 is a reply to message #509680]
||Mon, 25 January 2010 11:15
| Krum Tsvetkov
Registered: July 2009
A good question. Unfortunately I can't give you the best possible answer.|
It's like this - at the moment we don't have any published documentation on how to develop with MAT APIs. There is also no javadoc published, although (most of) the API classes contain javadoc inside.
I would suggest that you start with our Wiki page for contributors:
It describes our SVN location and how to get started with getting and building the sources.
Most of the API is contained in the org.eclipse.mat.api plugin.
You may look into the following two classes as a starting point:
- this is how you can open a heap dump
- this is the "central" interface, having all the methods to get to the different classes, their instances, single objects, retained sets, etc... The interface has javadoc in it.
Currently it is not possible to generate the heap dump from within the tool. There are some efforts in this direction - see bugzilla entry https://bugs.eclipse.org/bugs/show_bug.cgi?id=229449
And about using the APIs - we are in the process of getting ready for our graduation, including our 1.0 release. In this process some of the APIs may be changed. The following bugzilla entry should track such changes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=299371
I'll be very interested to get your feedback on the API if you decide to give it a try. And your feedback on the tool in general - any suggestions, comments, critique ...
Let me know if this explanation helps.
Powered by FUDForum
. Page generated in 0.02456 seconds