ACM SIGPLAN Notices · 2006 · 85 citations · 20 references
ComputingComputer EngineeringComputer ScienceOperating SystemsProgramming LanguagesSystems ProgrammingControl-flow AnalysisData-flow AnalysisRuntime SystemsStatic Code AnalysisSystem CallsAccuracyApplication ProfilingBursting BehaviorProfile ConstructionProfile-based AccuracyProfilingRuntime ProfilingSystem Call Overhead
Calling context profiles are used in many inter-procedural code optimizations and in overall program understanding. Unfortunately, the collection of profile information is highly intrusive due to the high frequency of method calls in most applications. Previously proposed calling-context profiling mechanisms consequently suffer from either low accuracy, high overhead, or both. We have developed a new approach for building the calling context tree at runtime, called adaptive bursting . By selectively inhibiting redundant profiling, this approach dramatically reduces overhead while preserving profile accuracy. We first demonstrate the drawbacks of previously proposed calling context profiling mechanisms. We show that a low-overhead solution using sampled stack-walking alone is less than 50% accurate, based on degree of overlap with a complete calling-context tree. We also show that a static bursting approach collects a highly accurate profile, but causes an unacceptable application slowdown. Our adaptive solution achieves 85% degree of overlap and provides an 88% hot-edge coverage when using a 0.1 hot-edge threshold, while dramatically reducing overhead compared to the static bursting approach.
20
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
A framework for reducing the cost of instrumented code
Matthew Arnold, Barbara G. Ryder · 2001 · 366 citations · Full text
Call graph construction in object-oriented languages
David Grove, Greg DeFouw, Jeffrey A. Dean et al. · 1997 · 296 citations · Full text