Patent ID: 7386686
Filing Date: 2008-06-10
Classification: G06F

Abstract:
1. A method, comprising: providing a relationship map to map a key representing a caller-callee relationship with a corresponding value indicating a frequency of call site executions, wherein the frequency of call site executions indicates a number of times a call was executed; determining whether a last stack frame of a stack frame trace is cached, wherein stack frames in the stack frame trace represent caller-callee relationships; recording a caller-callee relationship if the last stack frame is not cached, wherein the caller-callee relationship is recorded in the relationship map; updating the relationship map with the recorded caller-callee relationship; monitoring the relationship map via a recompilation scheduler, the monitoring to determine when a compilation or recompilation of callers and callees is to be performed; and performing turning on or turning off of dynamic profiling to perform unwinding of the frames in the stack trace.