×

Real time, concurrent garbage collection system and method

  • US 5,088,036 A
  • Filed: 01/17/1989
  • Issued: 02/11/1992
  • Est. Priority Date: 01/17/1989
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system havinga heap of dynamically allocated storage which is divided into old-space and new-space, each of which is further divided into a multiplicity of pages,a mutator task executed by the computer system which accesses objects stored in said heap;

  • anda garbage collection process for recovering unused storage in the heap;

    a computer implemented method of garbage collection performed by said garbage collection process, the steps of the method comprising;

    copying at least one object from old-space into new-space and protecting those pages of said new-space which contain objects copied from old-space; and

    trapping each memory access by said mutator task to a protected page in a new-space, scanning objects in the protected page for pointers to objects in old-space which have not been previously copied into new-space, copying each such object in old-space into new-space and protecting those pages in said new-space which contain said copied objects, and then unprotecting said page to which memory access was trapped;

    whereby accessible objects in old-space are collected and copied into new-space a portion at a time.

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