Invention Grant
US08769233B2 Adjusting the amount of memory allocated to a call stack 有权
调整分配给调用堆栈的内存量

Adjusting the amount of memory allocated to a call stack
Abstract:
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.
Public/Granted literature
Information query
Patent Agency Ranking
0/0