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

作者: Frank Eliot Levine , Robert John Urquhart , Robert Tod Dimpsey

DOI:

关键词:

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

参考文章(24)
Robert Francis Berry, William Preston Alexander, Robert John Urguhart, System and method for providing trace information data reduction ,(1997)
Shlomo Wygodny, Georgi Prouss, Anatoly Vorobey, Dmitry Barboy, System and method for monitoring and analyzing the execution of computer programs ,(1998)
Frank Eliot Levine, Robert Francis Berry, Robert J. Urguhart, Method and system for periodic trace sampling for real-time generation of segments of call stack trees ,(1999)
Emray R. Goossen, Carl E. Lippitt, David K. Shema, Automated validation and verification of computer software ,(1998)
Frank Eliot Levine, John Day Howard, Riaz Y. Hussain, Robert Francis Berry, Robert John Urquhart, System and method for injecting hooks into Java classes to handle exception and finalization processing ,(2000)
Frank Eliot Levine, William Preston Alexander, Robert J. Urquhart, Method and system for detecting and recovering from in trace data ,(1999)
Robert W. O'Callahan, Simon Goldsmith, Methods and apparatus for monitoring program execution ,(2004)