Jinsight Reference Manual

Tracing Tips

Creating a Program Trace 
 

The key to using Jinsight effectively lies in making good traces.  A "good" trace not only records the information you're ultimately interested in; it is also of reasonable size. It's all too easy to create unworkably large traces, especially if you're not studying anything in particular.  Tracing every detail of a program's execution will generate trace information rapidly, the resulting traces quickly running into the hundreds of megabytes and more.

Here are some statistics that should give you a feel for the resources involved.  The numbers were obtained on a 200 MHz Pentium Pro machine with 96 MB of RAM, running Jinsight with a just-in-time Java compiler.

These figures make it imperative that you focus your trace collection efforts.  The last thing you want to do is execute a long-running program from start to finish with full tracing.  As a rule of thumb, you should limit your traces to the most interesting 1-5 minutes (cumulative) of execution. This will create about 50 MB trace files taking about 4 minutes for Jinsight to read..

Here are some specific things you can do to improve performance:

See the Jinsight How-To Guide for more tips on tracing for specific tasks.


Creating a Program Trace 
Jinsight Home