Efficiently marking objects with large reference sets
AssigneeMicrosoft Corporation
InventorsPatrick H. Dussud, Maoni Z. Stephens
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsPatrick H. Dussud, Maoni Z. Stephens
Estimating the term…
Adding references to objects to a mark stack. A limited number of references to objects referenced by an object with a large number of object references are added to the stack. An object is accessed. A determination is made that references in the object should be added to a mark stack using a reference in the mark stack to the object in conjunction with a pointer. The pointer is used to track which references in the object have been placed on the mark stack. A reference to the object on the mark stack is accessed. A pointer is initialized. A reference to another object referenced by the object is pushed onto the mark stack. The pointer is incremented. It is then determined that that more references should be pushed to the mark stack. Acts of pushing references onto the mark stack and incrementing the pointer are repeated.
In a computing environment including application code that implements garbage collection functionality for reclaiming memory for use with new objects, wherein the garbage collection functionality includes pushing object references onto a mark stack, such that objects referenced on the mark stack can be marked so as to prevent memory for the marked objects from being recycled for use with other objects instances, a method of adding references to objects to the mark stack in a manner that allows a limited number of references to objects referenced by an object with a large number of object references to be added to the stack, the method comprising:
In a computing environment including application code that implements garbage collection functionality for reclaiming memory for use with new objects, wherein the garbage collection functionality includes pushing object references onto a mark stack, such that objects referenced on the mark stack can be marked so as to prevent memory for the marked objects from being recycled for use with other objects instances, a method of processing references to objects on the mark stack in a manner that allows a limited number of references to objects referenced by an object with a large number of object references to be added to the stack, the method comprising:
In a computing environment including application code that implements garbage collection functionality for reclaiming memory for use with new objects, wherein the garbage collection functionality includes pushing object references onto a mark stack, such that objects referenced on the mark stack can be marked so as to prevent memory for the marked objects from being recycled for use with other objects instances, a method of adding references to objects to the mark stack in a manner that allows a limited number of references to objects referenced by an object with a large number of object references to be added to the stack, the method comprising:
Dependencies are inferred from the claim text.