×

Scalable rundown protection for object lifetime management

  • US 7,571,288 B2
  • Filed: 07/03/2006
  • Issued: 08/04/2009
  • Est. Priority Date: 06/13/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer memory device including a data structure stored therein, wherein the data structure is arranged to represent a cache-aware per-processor rundown reference count in a shared-memory multiprocessor computer system, the data structure comprising at least a first data field representing an integer count of positive references and negative dereferences taken on an object for preventing the object from being destroyed or otherwise rendered inaccessible in a multiprocessor environment with a shared memory while at least one reference on the object exists, wherein requests for new references on the object and releases of existing references on the object are managed based on the integer count and a global reference count, wherein a least significant bit of the first data field is used to indicate whether a rundown wait is in progress, and wherein the requests for the new references are managed by:

  • refusing to grant a new reference if a rundown wait is in progress; and

    updating the integer count associated with the processor by atomically replacing the integer count with a new integer count reflecting an addition of the at least one new reference if a rundown wait is not in progress and a processor executes a request for at least one new reference.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×