Adjusting the amount of memory allocated to a call stack
US8769233B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 14, 2011 |
| Grant date | Jul 1, 2014 |
| Priority date | — |
| Expiry date | Mar 14, 2032 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/5022
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.