发明名称 Method and apparatus for managing surplus memory in multitasking system
摘要 One embodiment of the present invention provides a system for managing surplus memory in a multitasking system. The system operates by reserving a guaranteed amount of memory from a heap for a task. Heap memory not reserved for a task is surplus memory. When the system receives a request from the task to allocate memory for a new object, the system determines if memory is available within the guaranteed amount of memory. If so, the system allocates memory for the new object from the guaranteed memory. Otherwise, if available, the system reserves an additional amount of memory to the task from surplus memory in the heap. The system then allocates memory for the new object from the additional amount of memory. Allocating memory for the new object from the additional amount of memory delays garbage collection of the memory. Surplus memory can be transparently reclaimed.
申请公布号 US7165255(B2) 申请公布日期 2007.01.16
申请号 US20010884291 申请日期 2001.06.18
申请人 SUN MICROSYSTEMS, INC. 发明人 CZAJKOWSKI GRZEGORZ J.;DAYNES LAURENT P.
分类号 G06F9/50;G06F9/00;G06F9/455;G06F12/00 主分类号 G06F9/50
代理机构 代理人
主权项
地址