×

Generational garbage collector on multiple heaps

  • US 9,645,923 B1
  • Filed: 09/10/2013
  • Issued: 05/09/2017
  • Est. Priority Date: 09/10/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method, the method comprising:

  • determining a first set of objects, in a new space of a first heap, that include a reference to at least one object in a second heap;

    marking a second set of objects in a new space of the second heap, wherein the second set of objects comprises wrapper objects that are reachable from spaces other than the new space of the first heap;

    building an eden graph comprising a third set of objects in the new space of the second heap, wherein the third set of objects comprises unmarked wrapper objects in the new space of the second heap such that the third set of objects does not include objects from the second set of objects;

    marking a fourth set of objects in the new space of the first heap based on reachability in the eden graph;

    marking a fifth set of objects in the new space of the second heap, the fifth set of objects being based on the fourth set of objects; and

    collecting a set of unmarked objects from the first heap and the second heap.

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