or
Bookmark and Share
Management of memory heap space for data files accessible to programs operating in different addressing modes
   
Document Number
US Patent 6499094
Issued Date
December 24, 2002
Link
Inventors
Fraser; Paul A. (Apple Valley, MN)
Kipp; Thomas G. (Circle Pines, MN)
Wilke; Murray D. (Centerville, MN)
Map
Abstract
A method and apparatus for managing heap memory for an application program in a data processing system. The system supports a basic addressing mode and an extended addressing mode. Programs operating in the basic addressing mode are limited to addressing using a first number of bits, program operating in the extended addressing mode are limited to addressing using a second number of bits, and the first number of bits is less than the second number of bits. One or more heap banks are established for an application program, with each heap bank having a quantity of memory space that is addressable by the program operating in basic addressing mode. The heap banks are managed by a system program operating in extended addressing mode. In response to each request from the application program that requires a quantity of memory space, one of the heap banks is selected for allocating the memory. An additional heap bank is established if none of the heap banks has a quantity of available memory space that satisfies the required quantity.
Drawing
Management of memory heap space for data files accessible to programs operating in different addressing modes - US Patent 6499094 Drawing
Drawing from US Patent 6499094
Tags:
Description:
Amusing 0%
Clever 0%
Complex 0%
Efficient 0%
Historic 0%
Important 0%
Innovative 0%
Interesting 0%
Practical 0%
Simple 0%
Number of Claims:
14
Comments:
no comments yet
Owner
Unisys Corporation (Blue Bell, PA)
Published
December 24, 2002
Application Number
09/953,325
Filed
September 14, 2001
US Classification
711/171   707/205 711/170 711/173 711/5
Int'l Classification
G06F   12/02   (20060101)   G06F   12/06   (20060101)  
Examiner
USPTO Field of Search
711/171   711/170   711/172   711/173   711/5   707/205   707/100  
Related Patents
7447829 - Heap and stack layout for multithreaded processes in a processing system - Owned by International Business Machines Corporation (Armonk, NY)

A method and system in accordance with the present invention comprises a thread stack/thread heap combination, wherein the thread heap is for thread local memory usage and wherein the thread stack and thread heap grow in opposite directions. In the present invention the thread specific heap is allocated next to the thread's stack and grows in the opposite direction from that of the stack. This improvement allows the current space management of thread stacks, which spread out the memory placement of multiple stacks to avoid collision, to also be used for the heaps without additional overhead or complexity. It also allows the existing growth scheme of adding memory pages to the process for the stack to be used again because the growth is simply in the opposite direction. Thread specific heaps eliminate the need for expensive synchronization when allocating from a shared heap in a multiprocessor environment.

Claims
Description
About| FAQs| Terms & Disclaimer| Link to Us| Contact Us