
This "How-To" guide gives you simple recipes for using Jinsight for the most common analysis tasks. You do not have to read every section of this guide for it to be useful. Begin with one of these major topics and proceed to find the task you need help with:
Where is my program spending its time? Techniques to help you understand your program's time performance.
Understanding memory usage and data structures
Techniques to help you analyze memory problems, find the causes of memory
leaks, and understand how your objects are created and interrelated.
In this section we give you techniques for analyzing your program's performance.
Before you go any further, read this section on tracing:Tracing for performance analysis This section shows you how to trace your program to analyze time performance problems. It shows you how to choose a tracing technique based on information you already have about why your program is running slowly. It also gives you techniques for handling large traces.
Analyze calling patterns and repetitive sequences You have identified a few methods which are generating much of the time-consuming activity. Now you want to understand the calling patterns in more detail so you can diagnose the cause of the performance problem. You may want to know what is causing a method invocation to take so much time, or you may want to see the bigger picture to understand why a method is being invoked so often. This section also shows you how to work with repetitive calling sequences.
Explore data structures This section shows you how to browse over the objects of your program to see the patterns in the references among objects.
Find the cause of a memory leak A memory leak in Java is caused when an object that is no longer needed cannot be reclaimed because another object is still referring to it. This section will help you verify that you have a memory leak, and help you understand your objects' references to find the cause of the leak.
| Jinsight Reference |
|