Invention Grant
- Patent Title: Parallel dynamic memory allocation using a nested hierarchical heap
- Patent Title (中): 使用嵌套分层堆并行动态内存分配
-
Application No.: US13214101Application Date: 2011-08-19
-
Publication No.: US09329988B2Publication Date: 2016-05-03
- Inventor: Stephen Jones
- Applicant: Stephen Jones
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Artegis Law Group, LLP
- Main IPC: G06F12/02
- IPC: G06F12/02

Abstract:
One embodiment of the present invention sets forth a technique for dynamically allocating memory using a nested hierarchical heap. A lock-free mechanism is used to access to a hierarchical heap data structure for allocating and deallocating memory from the heap. The heap is organized as a series of levels of fixed-size blocks, where all blocks at given level are the same size. At each lower level of the hierarchy, a collection of N blocks in the lower level equals the size of a single block at the level above. When a thread requests an allocation, one or more blocks at only one level are allocated to the thread. When threads are finished using an allocation, each thread deallocates the respective allocated blocks. When all of the blocks for a level have been deallocated, defragmentation is performed at that level.
Public/Granted literature
- US20130046951A1 PARALLEL DYNAMIC MEMORY ALLOCATION USING A NESTED HIERARCHICAL HEAP Public/Granted day:2013-02-21
Information query