Externally identifiable descriptor for standard memory allocation interface
Abstract
The invention noninvasively provides information relating to memory space allocation. Memory space allocation information is maintained in a location that is known or identifiable outside of the process for which the memory space has, been allocated. A memory space allocator maintains the information in a descriptor block. The descriptor block is updated with every allocation or deallocation of memory space. In the preferred embodiment of the invention, the descriptor block exists on a page of memory having a size equal to the native page size of the machine on which it is, operating. The memory allocator allocates memory space in units referred to as buckets that exist within a memory block. The descriptor block contains an identifier that identifies the memory space allocation information stored in that descriptor block as being controlled by a particular memory space allocator. The descriptor block also contains information that indicates how many pages are used and how many pages are free.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 32.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a computer system, a method to non-invasively identify memory allocation information by a process external to a memory allocator for a currently running process, said method comprising: reserving a memory space arena comprising a descriptor block and a plurality of memory blocks from which memory is allocated for a process running in said memory space arena; storing a data structure identifier inside said descriptor block, said descriptor block comprising memory allocation information for said process running in said memory space arena.
- Claim 2Depends on #1
The method of claim 1 wherein said memory allocation, information comprises: a first value representative of a quantity of memory pages having a first bucket size, said memory pages instantiated in said memory space arena; a second value representative of a quantity
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 32 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- DelRossi, Robert, "BoundsChecker Pro 3.01 and HeapAgent 2.02", Software Development, pp(6).*
- Goodman, Kevin J., "Windows NT: A Developer's Guide" Chapter 9, "Memory APIs" pp(11).*
- Lamie, Bill, Chasing Down Memory Bugs, Embedded Systems Programming, p. (13), Apr. 1996.*
- Pietrek, An Exclusive Tour of the New ToolHelp32 Functions for Windows 95, Microsoft Systems Journal, p. (31), Sep. 1995.
- Pietrek, Matt, "Under the Hood" Microsoft Systems Journal, pp(13).*