Apparatus and method for dynamic instrumenting of code to...

Data processing: software development – installation – and managem – Software program development tool – Testing or debugging

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

07114150

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 calling methods), are removed. In this way, the call graph of the hot spots of a program execution is “walked up” and characterized over time.

REFERENCES:
patent: 5940618 (1999-08-01), Blandy et al.
patent: 6002872 (1999-12-01), Alexander, III et al.
patent: 6055492 (2000-04-01), Alexander, III et al.
patent: 6158024 (2000-12-01), Mandal
patent: 6311325 (2001-10-01), Levine et al.
patent: 6338159 (2002-01-01), Alexander, III et al.
patent: 6470492 (2002-10-01), Bala et al.
patent: 6662359 (2003-12-01), Berry et al.
patent: 2004/0103401 (2004-05-01), Chilimbi et al.
Kazi et al., “JaViz: A client/server Java profiling tool”, 2000, IBM Systems Journal, vol. 39, No. 1, pp. 96-117.
“Proceedings of the Java Virtual Machine Research and Technology Symposium”, USENIX, Apr. 2001.
Merten et al., “A Hardware-Driven Profiling Scheme for Identifying Program Hot Spots to Support Runtime Optimization”, IEEE, 1999.
“The Java HotSpot Performance Engine Architecture”, Apr. 1999.
U.S. Appl. No. 09/418,378 AT9-99-487, Berry et al., Method and System for Periodic Trace Sampling for Real-Time Generation of Segments of Call Stack Trees Augmented with Call Stack Position Determination, Oct. 14, 1999.
U.S. Appl. No. 09/418,379 AT9-99-489, Berry et al., Method and System for Periodic Trace Sampling for Real-Time Generation of Segments of Call Stack Trees, Oct. 14, 1999.
U.S. Appl. No. 09/460,850 AT9-99-727, Berry et al., Minimizing Profiling-Related Perturbation Using Periodic Contextual Information, Dec. 14, 1999.
U.S. Appl. No. 09/393,083 AT9-99-308, Alexander, III et al., Method and System for Detecting and Recovering From Errors in Trace Data, Sep. 9, 1999.
U.S. Appl. No. 09/343,439 AT9-98-849, Alexander, III et al., Process and System for Merging Trace Data for Primarily Interpreted Methods, Jun. 30, 1999.
U.S. Appl. No. 09/343,438 AT9-98-850, Alexander, III et al., Method and System for Merging Event-Based Data and Sampled Data into Postprocessed Trace Output, Jun. 30, 1999.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Apparatus and method for dynamic instrumenting of code to... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Apparatus and method for dynamic instrumenting of code to..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Apparatus and method for dynamic instrumenting of code to... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3573575

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.