发明名称 A lock-free memory allocator with delayed coalescing
摘要 A method is disclosed for dynamic memory allocation in computer programs. The invention uses free-lists stored in a table. A method of delayed coalescing is disclosed, whereby blocks are not coalesced immediately they are deallocated. Coalescing is performed by storing block-pointers in an array, sorting the array, and scanning the array for adjacent blocks. The memory allocator can operate in a completely lock-free way using atomic lists. The invention also contains thread-local caches of memory blocks, allowing it to operate mostly lock-free, and specific methods for allocating data and transferring data in between tables are disclosed. A method for automatic memory management ("garbage collection") based on this allocator is also disclosed. The realisation of this algorithm is a faster memory allocation system for use by computer programs requiring either automatic or manual memory management.
申请公布号 US2006190697(A1) 申请公布日期 2006.08.24
申请号 US20050906247 申请日期 2005.02.10
申请人 GRANT CALUM A 发明人 GRANT CALUM A.
分类号 G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址