Hybrid heap memory management
Abstract
A database memory manager determines a size class for each of a plurality of memory allocation requests. The memory manager then, based on the determined size classes, assigns which of a plurality of sub-allocators forming part of a plurality of memory pools should handle each memory allocation request. The sub-allocators assignments are based on predefined size ranges for each size class. The corresponding assigned sub-allocators then identify locations within the memory for each memory allocation request. The corresponding assigned sub-allocators next handle the memory allocation requests to allocate memory at the identified locations such that one of the sub-allocators utilizes both thread local storage and core-striped memory management.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for implementation by one or more data processors forming part of at least one computing device, the method comprising: determining, by a memory manager of a database, a size class for each of a plurality of memory allocation requests; assigning, by the memory manager and based on the determined size classes, which of a plurality of sub-allocators forming part of a plurality of memory pools should handle each memory allocation request, the sub-allocators assignments being based on predefined size ranges for each size class; identifying, by the corresponding assign
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- "A Scalable Concurrent malloc(3) Implementation for FreeBSD", Jason Evans, Apr. 16, 2006.
- Ghemawat, Sanjay, and Paul Menage. "TCMalloc : Thread-Caching Malloc." TCMalloc : Thread-Caching Malloc. N.p., n.d. Web. May 2015. <http://goog-perftools.sourceforge.net/doc/tcmalloc.html>.
- Sade, Yair, Mooly Sagiv, and Ran Shaham. "Optimizing C multithreaded memory management using thread-local storage." International Conference on Compiler Construction. Springer Berlin Heidelberg, 2005.
- Vangelis Tsiatsianas "Memory, Part 2: Implementing a Memory Allocator", Feb. 23, 2015. GitHub https://github.com/angrave/SystemProgramming/wiki/Memory,-Part-2:-Implementing-a-Memory-Allocator/9c70b4f58363bb658cea91c88ece71a17ac2f84b.
- Walls, Colin. "Dynamic Memory Allocation and Fragmentation in C and C." Design and Reuse. N.p., n.d. Web. May 2015. <https://www.design-reuse.com/articles/25090/dynamic-memory-allocation-fragmentation-c.html>.