System and method for detecting redundant subroutine calls
Abstract
A system and method of detecting redundant subroutine calls in a software system is provided. Call path data is obtained for the software system and stored into a call tree comprising a plurality of nodes, each node representing a software routine of the software system, the call tree describing the calling paths between the plurality of software routines. At least one focal node is identified among the plurality of nodes in the call tree for redundancy analysis. The calling redundancy to the focal node is analyzed by determining a common ancestor node list for the focal node and by generating call path data for each of the common ancestor nodes on the list. The common ancestor list data may be sorted and call trees generated for the common ancestors in relation to the focal node. This data may then be displayed on a graphical user interface for redundancy analysis of the focal node.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of detecting redundant subroutine calls in a software system, comprising: obtaining, using one or more processors, call path data for the software system and storing the call path data into a call tree comprising a plurality of nodes, each node representing a software routine of the software system, the call tree describing the calling paths between the plurality of software routines; identifying at least one focal node among the plurality of nodes in the call tree; determining a list of common ancestor nodes for the focal node, wherein determining comprises: init
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Ammons, Glen et al., "Finding and Removing Performance Bottlenecks in Large Systems", undated, 26 pp.
- Ayers, Andrew et al., "TraceBack: First Fault Diagnosis by Reconstruction of Distributed Control Flow", PLDI '05, pp. 201-212 (Jun. 12-15, 2005).
- Begic, Goran, "An introduction to runtime analysis with Rational PurifyPlus", Nov. 19, 2003, 11 pp.
- Chilimbi, Trishul M. et al., "Low-Overhead Memory Leak Detection Using Adaptive Statistical Profiling", ASPLOS '04, Oct. 9-13, 2004, pp. 156-164.
- Cole, Oliver, "Aprobe: A Non-intrusive Framework for Software Instrumentation", OC Systems, Inc., pp. 1-10.