×

Incremental lock-free stack scanning for garbage collection

  • US 20100114998A1
  • Filed: 10/30/2008
  • Published: 05/06/2010
  • Est. Priority Date: 10/30/2008
  • Status: Active Grant
First Claim
Patent Images

1. A system of incremental lock free stack frame scanning, the system comprising:

  • a mutator stack comprising a mutator stack frame, the stack frame comprising a pointer value;

    a summary data structure comprising a summary of the mutator stack frame;

    a mutator reading the mutator stack frame and creating a summary of the pointer value and inserting the summary of the pointer value into the summary data structure when an atomic insertion operation is successful, the mutator being permitted to read, or modify, or both, the mutator stack, and wherein the mutator inserts the summary into the summary data structure before modifying the contents of the mutator stack frame; and

    a garbage collector concurrently reading the mutator stack frame and creating a summary of the pointer and inserting the summary of the pointer into the summary data structure when an atomic insertion operation is successful, the garbage collector being permitted to read the mutator stack.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×