Patent ID: 8589894

Claim:
A computer-implemented method for monitoring an object-oriented application, comprising: building a transaction-representative-digraph based upon a real-time running of the application, wherein the digraph contains nodes of a plurality of replaceable classes; selecting a node having a maximum of an in-degree in the digraph as a reference node, wherein the in-degree is a number of times that a particular node in the digraph is invoked by nodes other than the particular node; judging an adjacent node in the digraph having an invocation relationship with the reference node, wherein the judging comprises: i) in response to the adjacent node is a node invoking the reference node and does not invoke nodes other than the reference node, the adjacent node is cancelled from the digraph, or ii) in response to the adjacent node is a node invoked by the reference node and is not invoked by the nodes other than the reference node, the adjacent node is cancelled from the digraph; repeating the judging for each uncancelled adjacent node until every node is traversed; and instrumenting monitor programs at any uncancelled nodes.