This example demonstrates how to:

Run the example with run.bat (Windows), run_windows64.bat (Windows 64-bit Java), or ./run.sh (Linux/Solaris/Mac OS X).

This example demonstrates portions of the profiler API supported only for Java 5 or newer. See also sample1 that works on Java 1.4 or newer.