发明名称 Adjusting the amount of memory allocated to a call stack
摘要 In an embodiment, a plurality of stack depths of a stack are sampled from all stack depths of the stack. An average of the plurality of stack depths is calculated. If a number of the plurality of stack depths is greater than a maximum sample threshold and the average of the plurality of stack depths is greater than or equal to a current depth of the stack, then pages are deallocated from the stack that are above the average of the plurality of stack depths. If the number of the plurality of stack depths is greater than the maximum sample threshold and the average of the plurality of stack depths is less than the current depth of the stack, then pages are deallocated from the stack that are above the current depth of the stack.
申请公布号 US8769233(B2) 申请公布日期 2014.07.01
申请号 US201113159480 申请日期 2011.06.14
申请人 International Business Machines Corporation 发明人 Jacobs Brent W.;Miller Nathan D.
分类号 G06F12/00;G06F13/00;G06F13/28 主分类号 G06F12/00
代理机构 代理人 Gamon Owen J.;Zehrer Matthew C.
主权项 1. A method comprising: sampling a plurality of stack depths of a stack from all stack depths of the stack during a sample time period; calculating an average of the plurality of stack depths; and if a number of the plurality of stack depths is greater than a maximum sample threshold and the average of the plurality of stack depths is greater than or equal to a current depth of the stack, deallocating pages from the stack that are above the average of the plurality of stack depths.
地址 Armonk NY US
您可能感兴趣的专利