Conservative garbage collecting with concurrent marking and concurrent sweeping for memory management
AssigneeMicrosoft Corporation
InventorsSteven Lucco, Curtis Cheng-Cheng Man
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsSteven Lucco, Curtis Cheng-Cheng Man
Estimating the term…
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.
A method, comprising:
A memory management device, comprising:
A computer-readable storage memory, comprising computer-readable instructions, the computer-readable instructions including instructions for causing at least one computing device including a processor to perform operations, comprising:
Dependencies are inferred from the claim text.