发明名称 Method for heap coalescing where blocks do not cross page of segment boundaries
摘要 A computer method and system for coalescing free space in a heap data structure. In preferred embodiments, the heap comprises a plurality of sequential pages (segments), and each page is logically divided into blocks of memory that are either free or allocated. Each block resides in a single page. According to the present invention, a source pointer and a destination pointer advance through the pages. The source pointer is advanced to point to an allocated block to be copied. The destination pointer is advanced to point to an area in which the block currently pointed to by the source pointer can be copied. The block pointed to by the source pointer is then copied to the area pointed to by the destination pointer, and the source and destination pointers are advanced. When the destination pointer advances to an area that is not large enough to hold the block pointed to by the source pointer, a free block is created out of the area.
申请公布号 US5680582(A) 申请公布日期 1997.10.21
申请号 US19950430446 申请日期 1995.04.28
申请人 MICROSOFT CORPORATION 发明人 SLAYDEN, GLENN C
分类号 G06F12/02;(IPC1-7):G06F12/02 主分类号 G06F12/02
代理机构 代理人
主权项
地址