Invocation paths

The Invocations paths tab shows the methods that called the highlighted method.

If more than one method calls the highlighted method, a weight is shown in parentheses. For any method, the sum of the percentages of its calling methods is 100%. The following example shows that a method Util.constructString() is often called by another constructString() method (81.3% of samples). The Util.constructString() method is also called occasionally by processTraceBuffer() (18.7% of samples). The top-level constructString() node has two children.

Java™ example: Methods that call Util.constructString()
  • constructString
    • constructString (81.3%)
      • parseDataIntoTracepoint (63.3%)
      • parseMessage (36.7%)
    • processTraceBuffer (18.7%)

In this case, you have two strategies for optimization. The first is to make the Util.constructString() method more efficient. The second is to reduce how often it is called. Reducing how often processTraceBuffer() calls constructString() makes less difference than halving how often constructString() calls Util.constructString().





© Copyright IBM Corporation 2007, 2016.
© Copyright 1997, 2016, Oracle and/or its affiliates.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.