Invention Grant
- Patent Title: Conservative garbage collecting with concurrent marking and concurrent sweeping for memory management
- Patent Title (中): 保守的垃圾收集与并发标记和并发清扫内存管理
-
Application No.: US13074226Application Date: 2011-03-29
-
Publication No.: US08527560B2Publication Date: 2013-09-03
- Inventor: Steven Lucco , Curtis Cheng-Cheng Man
- Applicant: Steven Lucco , Curtis Cheng-Cheng Man
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Rau Patents, LLC
- Main IPC: G06F17/30
- IPC: G06F17/30

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.
Public/Granted literature
- US20120254265A1 CONSERVATIVE GARBAGE COLLECTING WITH CONCURRENT MARKING AND CONCURRENT SWEEPING FOR MEMORY MANAGEMENT Public/Granted day:2012-10-04
Information query