Invention Grant
US08527560B2 Conservative garbage collecting with concurrent marking and concurrent sweeping for memory management 有权
保守的垃圾收集与并发标记和并发清扫内存管理

Conservative garbage collecting with concurrent marking and concurrent sweeping for memory management
Abstract:
Aspects for conservative garbage collecting are disclosed. In one aspect, a heap of objects is generated during an execution of a script, and script objects in an unexecuted portion are traced to corresponding memory locations on the heap. The heap is then marked concurrently with executing the script such that a marked heap includes reachable and unreachable objects. Memory allocated to the unreachable objects is then freed concurrently with executing the script based on the marking. In another aspect, an object graph associated with a call stack is generated and traced such that script objects in an unexecuted portion of the stack are traced to corresponding memory locations on a heap. Heap objects are marked concurrently with executing the stack so that a marked heap includes reachable and unreachable objects. Memory allocated to the unreachable objects is then cleared concurrently with executing the stack based on the marked heap.
Information query
Patent Agency Ranking
0/0