发明名称 Inlining with stack trace cache-based dynamic profiling
摘要 A method and system are provided for improving inlining using stack trace cache-based dynamic profiling. In one embodiment, a relationship map is provided to map a key representing a caller-callee relationship with a corresponding value indicating a frequency of call site executions. Whether a last stack frame of a stack frame trace is cached is determined. A caller-callee relationship is recorded if the last stack frame is not cached, wherein the caller-callee relationship is recorded in the relationship map, and the relationship map is updated with the recorded caller-callee relationship and then monitored via a recompilation scheduler, the monitoring to determine when a compilation or recompilation of callers and callees is to be performed. A turning on or turning off of dynamic profiling is conducted to perform partial unwinding of the frames in the stack trace.
申请公布号 US7386686(B2) 申请公布日期 2008.06.10
申请号 US20030402520 申请日期 2003.03.28
申请人 INTEL CORPORATION 发明人 WU GANSHA;LUEH GUEI-YUAN
分类号 G06F12/00;G06F9/45;H02H3/05 主分类号 G06F12/00
代理机构 代理人
主权项
地址