Adaptive instrumentation runtime monitoring and analysis
Abstract
Techniques described herein provide low-overhead adaptive instrumentation runtime monitoring and analysis of software. A method of instrumenting a program to provide instrumentation data creates instrumentation versions comprising duplicate versions of original procedures in the program with instrumentation code for capturing instrumentation data, and adaptively decreases the sampling rate of the instrumented version of a procedure as the frequency of execution of the procedure increases. Additionally, the instrumentation methods can be used to build runtime tools that monitor the correctness of a program with very little overhead.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 31.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of instrumenting a program to provide instrumentation data for detecting memory leaks in the program, the method comprising: creating an instrumented version of the program comprising duplicate versions of at least some code paths in the program, such that a duplicate code path has an original version code path and an instrumented version code path with instrumentation code for capturing instrumentation data; tracking a frequency of execution of the code paths; when a code path is to be executed, determining to dispatch execution into the instrumented version code path at a sampling r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 31 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "JProfiler Manual," ejtechnologies, GmbH (2004), pp. 1-141.
- "Technologies for Measuring Software Performance", Intel Corporation (2003), 4 pages.
- Ammons et al., "Exploiting Hardware Performance Counters with Flow and Context Sensitive Profiling", PLDI (Jun. 1997), 12 pages.
- Ammons et al., "Improving Data-Flow Analysis with Path Profiles," SIGPLAN '98 (1998), pp. 72-84.
- Anderson et al., "Continuous Profiling: Where Have All the Cycles Gone?", ACM (Nov. 1997), pp. 357-390.