Jinsight How-To Guide

 Analyze calling patterns and repetitive sequences


next: Why is a method taking so long? See calling relationships among a group of methods

  1. Bring up the Method Histogram
  2. Bring the most expensive methods to the top of the view: select Cumulative Time, then select Recalibrate Colors, then Sort Class Colors Now
  3. Right-click on methods which you are studying, starting with the most expensive method, and select Show Callees (Top 5)

next: Why is a method being called? Why is a method taking so long?

Use the Execution Pattern View to see the detailed behavior of a method and the methods it calls, in summarized form.
  1. From the Method Histogram, select the most expensive method of a group of methods you are studying
  2. Bring up the Execution Pattern View

next: Work with repetitive patterns Why is a method being called?

See what methods are calling a method

  1. Bring up the Method Histogram
  2. Right-click on the method you are studying, and select Show Callers (Top 5) from the menu

See all the places a method is called

  1. Bring up the Execution View
  2. Select the method in the Method Histogram, or select any invocation of the method in the Execution View (click on or below the method name, but not on the vertical bar)

See the context of each individual method invocation

  1. Select the method in the Method Histogram
  2. Bring up the Invocation Browser

Work with repetitive patterns

See repetitive sequences in summary form or individually

Starting with a method which is invoked repeatedly, you can use the Execution Pattern View to see all of the invocations in summarized form, or you can use the Invocation Browser to see the invocations one at a time.
  1. Bring up the Method Histogram and select the method (or select it from any other view)
  2. Bring up the Invocation Browser or the Execution Pattern View

See repetitive sequences in context

You can use the Detect Repetition feature of the Execution View to see repetitive sequences where they occur.
  1. Bring up the Execution View
  2. Zoom out far enough to see entire dense areas of activity you want to explore
  3. Right click on a long bar where you think the repetitive sequence starts, or on the lines immediately to the right of it
  4. Select Detect Repetition from the menu (Tip: if a menu with this item doesn't appear, make sure the cursor is positioned over an object or a method invocation. You can use the status bar to help position the cursor)

Jinsight Reference
Jinsight Home
Jinsight How-To Guide:   Home   Contents