 | Level: Intermediate Martin Streicher (mstreicher@linux-mag.com), Editor in Chief, Linux Magazine
14 Feb 2006 Learn how to use the Eclipse Test and Performance Tools Platform (TPTP) to profile a Java application, and discover how to quantify memory usage, identify memory leaks, and isolate performance bottlenecks.
In this tutorial
This tutorial introduces the Eclipse Test and Performance Tools Platform (TPTP), provides step-by-step instructions on how to install Eclipse and the TPTP tools, and demonstrates how to profile a running Java application.
Prerequisites
To benefit, you should have experience with Java software development and the entire software development life cycle, including testing and profiling. You should also have experience installing software from the command line, and setting and managing shell and system environment variables, such as the Java CLASSPATH. Acquaintance with Eclipse and the Standard Widget Toolkit (SWT) is also beneficial.
System requirements
Before you start, you must install several software packages on your UNIX, Linux, Mac OS X, or Microsoft Windows system. You need a functioning Java Virtual Machine (JVM), a copy of the Eclipse platform, the Eclipse TPTP runtime, and several prerequisites and co-requisites on which TPTP depends. You also need TPTP's Agent Controller, which allows you to start and profile applications. Here's everything you need: If you don't have a JVM and Eclipse installed on your system, make sure you have at least 300 MB of disk space free for all the software. You also need enough free physical memory to run the JVM. In general, 64 MB or more of free physical memory is recommended.
Duration
Under two hours
Formats html, pdf
|  | |  |