User control of multiple memory heaps
US6816956B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 2, 1998 |
| Grant date | Nov 9, 2004 |
| Priority date | — |
| Expiry date | Jun 2, 2018 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99956
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Control and administration of the supply of memory managed in multiple heaps by a library heap management facility. Control data used by the heap management facility is located in user-supplied memory. Heaps are created dynamically through calls from the application to a runtime library. Allocation within a heap is performed through calls to the runtime library that canvass the available heap memory for each allocation request. If no suitable block of heap memory is located, additional user supplied memory is requested for the application through a callback function. A second callback function notifies the user when a supplied unit of memory is no longer required by the heap and may be disposed of. The callback functions are specified separately for each heap. The user may also set the default heap in the runtime library by allocation requests from a vendor library that do not specify a heap. This can be done a per thread basis in multithreaded applications so that different executing threads can use different default heaps in a non-interfering manner.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.