Method and apparatus for dynamically sizing non-contiguous runtime stacks
US5835958A · kind A · utility
Assignee
Inventors
Key dates
| Filing date | Oct 29, 1996 |
| Grant date | Nov 10, 1998 |
| Priority date | — |
| Expiry date | Oct 29, 2016 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99956
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method, apparatus, and software for efficiently allocating discontiguous stack space without requiring compiler changes are described. In one aspect, a method is provided for executing a compiled function that is located in a first computer memory stack chunk such that additional memory is allocated efficiently if a determination is made that such additional memory is necessary for execution of the compiled function. In one embodiment, the method includes calling a stack checking function that includes the compiled function. A determination is made if additional memory is required for executing the compiled function. If no additional memory is required, then the compiled function is called and executed. However, if additional memory is necessary, then additional memory is allocated that is discontiguous with the original memory stack.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.