Data structure path profiling
Abstract
The described technology provides data structure path profiling. An instrumented version of a program is created that calls a profiler runtime when pointer based data structures are allocated or accessed via pointers. A model of the heap is created and nodes in the model data structures are assigned unique identifiers. Paths traversed through the model data structures are assigned unique identifiers. The paths are counted in order to identify paths through the data structure model that are traversed frequently. The model is useful for providing information about high frequency data paths to the program developer and for various optimization purposes, such as prefetching and or increasing data locality during garbage collection.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 38.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for profiling computer programs comprising: receiving a program binary; creating a modified version of the program binary comprising instrumenting memory allocator instructions and heap pointer instructions with runtime call instructions to a runtime profiler; executing the modified version comprising executing the runtime call instructions; and responsive to receiving the runtime call instructions at the runtime profiler, creating a heap model comprising, assigning identifiers to data objects, wherein assigning identifiers to data objects comprises assigning prime numbers to data obj
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 38 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.