Clustering related objects during garbage collection
First Claim
1. A method of clustering related objects in a computer comprising a region-based garbage collector, the method comprising:
- associating an object with at least one cluster; and
allocating, by the garbage collector, space for the object from a region associated with at least one of the clusters.
2 Assignments
0 Petitions
Accused Products
Abstract
Clustering related objects in a region-based garbage collector is solved by associating one or more regions with each cluster, and allocating objects from a region belonging to the primary cluster for the object. Relatedness may refer to, e.g., proximity to a cluster center (such as topic) in a persistent knowledge base or a home node in a distributed object system. The cluster for an object may be determined, e.g., from reachability from particular roots or objects during global tracing. For new objects, the initial cluster may be guessed based on history of where objects allocated in that call site have recently been clustered (possibly several stack frames deep).
57 Citations
29 Claims
-
1. A method of clustering related objects in a computer comprising a region-based garbage collector, the method comprising:
-
associating an object with at least one cluster; and allocating, by the garbage collector, space for the object from a region associated with at least one of the clusters. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer comprising:
-
a cluster selector; and a region-based garbage collector comprising a cluster allocator. - View Dependent Claims (23, 24, 25, 26, 27)
-
-
28. A computer program product operable to cause a computer to:
-
associate an object with at least one cluster; and use a region-based garbage collector to allocate space for the object from a region associated with at least one of the clusters. - View Dependent Claims (29)
-
Specification