×

Incremental lock-free stack scanning for garbage collection

  • US 8,825,719 B2
  • Filed: 10/30/2008
  • Issued: 09/02/2014
  • 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 processor;

    a memory coupled to the processor and comprising computer readable storage medium storing instructions that, when executed by the processor, configure the processor to implement computer components comprising;

    a mutator stack comprising a mutator stack frame, the mutator 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 of the pointer value into the summary data structure before modifying the contents of the mutator stack frame and the mutator installs a return barrier after the atomic insertion operation; 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
    ×
    ×