发明名称 Detecting program phases with periodic call-stack sampling during garbage collection
摘要 A computer readable storage medium for associating a phase with an activation of a computer program that supports garbage collection include: a plurality of stacks, each stack including at least one stack frame that includes an activation count; and a processor with logic for performing steps of: zeroing the activation count whenever the program creates a new stack frame and after garbage collection is performed; determining whether an interval has transpired during program execution; examining each stack frame's content and incrementing the activation count for each frame of the stacks once the interval has transpired; detecting the phase whose activation count is non-zero and associating the phase with the activation; and ensuring that when the phase ends, an action is immediately performed.
申请公布号 US8326895(B2) 申请公布日期 2012.12.04
申请号 US20100785436 申请日期 2010.05.22
申请人 FINK STEPHEN J;GROVE DAVID P.;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 FINK STEPHEN J;GROVE DAVID P.
分类号 G06F17/30;G06F9/40;G06F12/02 主分类号 G06F17/30
代理机构 代理人
主权项
地址