×

Mostly concurrent compaction in a garbage collection system

  • US 6,249,793 B1
  • Filed: 06/10/1999
  • Issued: 06/19/2001
  • Est. Priority Date: 06/10/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for relocating objects allocated to a program, comprising:

  • marking regions of memory in which a pointer is modified by said program, concurrent with execution of said program;

    identifying a first set of variables pointing to objects in a subset of memory, concurrent with execution of said program;

    suspending execution of said program;

    identifying, while said execution of said program is suspended, a second set of variables pointing to said objects in said subset of memory, said second set of variables contained in said marked regions of memory;

    modifying, while said execution of said program is suspended, said first set of variables and said second set of variables to point to locations outside of said subset of memory;

    copying, while said execution of said program is suspended, said objects in said subset of memory to said locations outside of said subset of memory; and

    restarting execution of said program.

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