Electrical computers and digital processing systems: memory – Storage accessing and control – Memory configuring
Patent
1996-02-26
1998-09-15
Bragdon, Reginald G.
Electrical computers and digital processing systems: memory
Storage accessing and control
Memory configuring
711170, 707205, 395670, G06F 1202
Patent
active
058095543
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.
REFERENCES:
patent: 5437006 (1995-07-01), Turski
patent: 5559980 (1996-09-01), Connors et al.
patent: 5561786 (1996-10-01), Morse
Applegate, Arthur D. "Rethinking Memory Management." Dr. Dobb's Journal, Jun. 1994: 52-55.
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).
Borland International. "Borland C++ Version 3.0 Programmer's Guide". Borland International, Inc. Nov. 1991: 30, 124-125.
Stevens, Richard W. "Advanced Programming in the UNIX Environment". Reading, Massachusetts: Addison-Wesley Publishing Company, Dec. 1992: 20-22, 169-171.
Benayon Jay William
Thomson Brian Ward
Bragdon Reginald G.
Duffield Edward H.
International Business Machines Corp.
LandOfFree
User control of multiple memory heaps does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with User control of multiple memory heaps, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and User control of multiple memory heaps will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-104885