Patents
US 7,823,129 B2#6484252 Most CitedActiveUnited States (USPTO)Utility

Apparatus and method for dynamic instrumenting of code to minimize system perturbation

15Forward Citations (#6484252 Global)
0.9/yrCitation Velocity (#7636519 Global)
1.94Citation PageRank (#15203728 Global)
23Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus and method are provided for the dynamic instrumentation of code to minimize system perturbation during tracing of the execution of the code. With the apparatus and method, “hot spots” in the execution of the code are dynamically determined during tracing of the execution of the code. These “hot spots” are dynamically instrumented, i.e. an event hook is inserted, to cause control to be passed to a handler that determines a caller of the “hot spot” method. The method that called the “hot spot” method, or “caller” method, is identified from a call stack and is dynamically instrumented for an appropriate metric so that the next time the calling method is executed, the dynamically inserted hooks are executed. The execution of the hooks in the caller method is continued for a predetermined period, e.g., number of invocations, to get an understanding of the caller method's characteristics. A list of callers of instrumented methods is maintained and used to determine one or more calling methods of the instrumented caller method. One or more of these calling methods may be instrumented and the hooks inserted in the instrumented caller method (called by the one or more calli

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 15.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method of instrumenting code for tracing of a program, comprising: identifying a hot spot method of the program executing on a processor; responsive to identifying the hot spot method, instrumenting the hot spot method; identifying a caller method that calls the hot spot method; responsive to identifying the caller method, instrumenting the caller method by inserting one or more hooks into the caller method; maintaining a list of callers of instrumented methods in a memory in communication with the processor; measuring at least one execution characteristic metric using t

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 15 total)

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
US 5,940,618 ACode instrumentation system with non intrusive means and cache memory optimization for dynamic monitoring of code segments1999163
US 6,002,872 AMethod and apparatus for structured profiling of data processing systems and applications1999150
US 6,055,492 ASystem and method for providing trace information data reduction2000100
US 6,071,316 AAutomated validation and verification of computer software200079
US 6,158,024 AMethod and apparatus for structured memory analysis of data processing systems and applications200068
US 6,282,701 B1System and method for monitoring and analyzing the execution of computer programs2001551
US 6,311,325 B1Method and apparatus for profiling processes in a data processing system background of the invention200133
US 6,338,159 B1System and method for providing trace information2002107
US 6,470,492 B2Low overhead speculative selection of hot traces in a caching dynamic translator200255
US 2002194580 A1Edge profiling for executable program code having branches through stub code segments—30
US 6,513,155 B1Method and system for merging event-based data and sampled data into postprocessed trace output2003127
US 6,553,564 B1Process and system for merging trace data for primarily interpreted methods200395
US 6,604,210 B1Method and system for detecting and recovering from in trace data200357
US 6,651,243 B1Method and system for periodic trace sampling for real-time generation of segments of call stack trees2003179
US 6,662,359 B1System and method for injecting hooks into Java classes to handle exception and finalization processing2003116

Non-Patent Literature (4)

  • "Proceedings of the Java Virtual Machine Research and Technology Symposium", USENIX, Apr. 2001, pp. 1-14.
  • "The Java HotSpot Performance Engine Architecture", Apr. 1999, retrieved Nov. 23, 2005, pp. 1-6. http://java.sun.com/products/hotspot/whitepaper.html.
  • Kazi et al., "JaViz: a client/server Java profiling tool", 2000, IBM Systems Journal vol. 39, No. 1, pp. 96-117.
  • Merten et al., "A Hardware-Driven Profiling Scheme for Identifyiong Program Hot Spots to Support Runtime Optimization", IEEE, 1999, pp. 136-147.