Gavin's profileTerran EmperorPhotosBlogListsMore ![]() | Help |
|
9/2/2005 JMP - Java Memory ProfilerAbout
JMP is a profiler for java that can be used to trace objects usage and method timings. JMP uses the JVMPI interface to gather statistics and interact with the JVM. JMP uses a GTK+ interface to show the status.
JMP normally uses one window to show the classes in memory. Each class has summary information for number of instances and total bytes of used memory for all the instances.
JMP can perform heap analysis and has the ability to show which objects own (have references to) all the objects of a specified class. This is a great way to find memory leaks.
JMP also shows method timings and calls in another window. Several columns show time taken in the method, number of calls to each method, time taken in methods called.
JMP collects information about which method are called and from where, this information is used to build call graphs.
JMP interacts with the normal java threads and also uses one extra thread for GTK+ with a timer to systematically update the stats.
JMP is written in C, it is designed for speed.
It should now be possible to build and run jmp under windows. 4/21/2005 Torque Tutorial -- About this TutorialThis tutorial is intended to give first-time users an introduction to using Torque, an object-relational tool. Torque was developed as part of the Turbine web application framework. Until recently, it was tightly coupled in that framework, and could not be used independently. This tutorial is an introduction to the decoupled version of Torque.
This will include how to obtain the Torque distribution, setting up a database, and writing a sample application to demonstrate the power of Torque. The tutorial is not meant to be an exhaustive introduction to Torque, please refer to the documentation on the Torque homepage for more detailed information.
The example used throughout this tutorial is based on an email sent to the turbine-user mailing list by Steven F. Davis called torque outside turbine - detailed example (long). It has subsequently been updated for Turbine 3.1 which separates the generator from the runtime and provides a maven-plugin for executing the generator using Maven |
|
|