Patents
US 5,809,554 A#337836 Most CitedExpiredUnited States (USPTO)Utility

User control of multiple memory heaps

84Forward Citations (#337836 Global)
3.0/yrCitation Velocity (#856994 Global)
19.89Citation PageRank (#336912 Global)
3Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

The present invention provides the user with the ability to control and administer the supply of memory managed in multiple heaps by a library heap management facility. The control data used by the heap management facility is located in the user-supplied memory. Heaps are created dynamically through calls from the application to the 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 invention also provides the user with means for setting the default heap in the runtime library for use by allocation requests from a vendor library that do not specify a heap. This can be done on a per thread basis in multithreaded applications so that different executing threads can use different default heaps in a non-interfering manner.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 84.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A process for managing heap allocation from a user application executing in an operating system having means for allocating heap memory and a runtime library, comprising the computer implemented steps of: issuing a call from the user application to the runtime library specifying a heap to be destroyed; serializing access to the heap; scanning the heap memory for blocks of memory added to the heap by the user application for heap memory expansion; invoking a callback function from the runtime library to the user application for releasing each such scanned block of memory added to the heap

  2. Claim 2Depends on #1

    A process according to claim 1, further comprising the step of issuing a call from the user application

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (15 of 84 total)

Non-Patent Literature (5)

  • Applegate, Arthur D. "Rethinking Memory Management." Dr. Dobb's Journal, Jun. 1994: 52-55.
  • Applegate, Arthur D. Rethinking Memory Management. Dr. Dobb s Journal, Jun. 1994: 52 55.
  • Borland International. "Borland C++ Version 3.0 Programmer's Guide". Borland International, Inc. Nov. 1991: 30, 124-125.
  • Borland International. Borland C Version 3.0 Programmer s Guide . Borland International, Inc. Nov. 1991: 30, 124 125.
  • Carlini, Giuliano, and Susan Rendina, "Garbage Collection for C Programs; there's no need to explicitly free memory." Dr. Dobb's Journal, Nov. 1992; p. 46(5).