作者: 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.