Invention Grant
- Patent Title: Method and apparatus for allocating and freeing storage utilizing multiple tiers of storage organization
- Patent Title (中): 使用多层存储组织分配和释放存储的方法和装置
-
Application No.: US954711Application Date: 1997-10-20
-
Publication No.: US6065019APublication Date: 2000-05-16
- Inventor: Donald F. Ault , John F. Fischer , Eric T. Miller
- Applicant: Donald F. Ault , John F. Fischer , Eric T. Miller
- Applicant Address: NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: NY Armonk
- Main IPC: G06F9/50
- IPC: G06F9/50 ; G06F12/02
Abstract:
A method and system for allocating and freeing storage are provided. The method can be built on top of any existing storage management algorithm. The method is described as being built upon the heap storage algorithm most often associated with the C programming environment. The method operates by breaking all storage requests into a fixed number of pools. Each pool is then managed by three tiers of management. The first tier is a so-called quick pool consisting of storage blocks which have already been used and freed and are managed on a LIFO queue. The second tier is made up of cell pool extents that are carved from the heap and then further subdivided into blocks of the appropriate size for each pool. The third tier is made up of the existing heap management algorithms or any other storage management algorithm. The method relies on atomic hardware instructions for removing blocks from the quick pools and cell extents. The lack of blocking serialization allows this method to provide a high performing storage manager, even in multithreaded applications with a high degree of concurrency in malloc( ) and free( ) requests from the threads. Any storage request of a size beyond the largest pool size is satisfied by use of the old malloc( ) interface.
Public/Granted literature
- US4243019A Light-weight-trough type solar concentrator shell Public/Granted day:1981-01-06
Information query