System and method for dynamic memory allocation
Abstract
A method for managing the allocation of memory to one or more applications. The method includes allocating a variety of fixed size memory blocks to a requesting application, each of the fixed size memory blocks being free of header information to maximize memory usage. Free, or unused blocks of data of the same fixed size are maintained in a freelist having a number of block roots corresponding to the number of differently fixed size memory blocks. Each block root stores a root pointer to an unused memory block previously allocated to the application. To conserve memory, each unused memory block will store branch pointers to other identically sized unused memory blocks, thereby forming a sequential chain of unused memory blocks with the block root. Therefore, applications requesting the same sized memory block can re-use previously allocated fixed size memory blocks.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A memory allocation system comprising: a memory having a page for storing data; and, a small block memory manager for reallocating previously allocated memory blocks released by an application, in the page, one of a first fixed-size memory block having a first size and a second fixed-size memory block having a second size larger than the first size, in response to an application request for memory of a specific size less than or equal to the second size, the first fixed-size memory block and the second fixed-size memory block being free of header information regarding their respective size, th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,389,997 B2 | Heap management using dynamic memory allocation | 2016 | 2 |
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2005055526 A1 | System and method for persistent and robust storage allocation | — | 15 |
Non-Patent Literature (5)
- Chang et al., "Measuring dynamic memory invocation in object-oriented programs", Performance, Computing and Communications Conference, 1999 IEEE International, Feb. 10-12, 1999, pp. 268-274, XP010323644.
- Comfort et al. IBM Corporation, "Multiword list items", Communication of the ACM, vol. 7, No. 6, Jun. 1964, p. 357-361, XP002431277.
- Donald Knuth, "Fundamental Algorithms Section 2.5: Dynamic Storage Allocation", Third Edition, Addison-Wesley, 1997, ISBN 0-201-89683-4, pp. 435-456.
- European Patent Application No. 07103524.0, Search Report dated May 10, 2007.
- Garner, "JMTk: A portable memory management toolkit", Internet Article, Dec. 2003, URL: http://dspace.anu. edu.au/bitstream/1885/39952/4/thesis,ps, XP002431244.