Distributed garbage collection
Distributed garbage collection (DGC) in computing is a particular case of garbage collection where a remote client can hold references to an object.[src] DGC uses some combination of the classical garbage collection (GC) techniques, tracing and reference counting.[src] It has to cooperate with local garbage collectors in each process in order to keep global counts, or to globally trace accessibility of data.[src] In general, remote processors do not have to know about internal counting or tracing in a given process, and the relevant information is stored in interfaces associated with each process.[src] DGC is complex and can be costly and slow in freeing memory.[src] As a cheap way of avoiding DGC algorithms, one can rely on a time lease – set or configured on the remote object; it is the stub's task to periodically renew the lease on the remote object.[src] If the lease has expired, the server process (the process owning the remote object) can safely assume that either the client is no longer interested in the object, or that a network partition or crash obstructed lease renewal, in which case it is "hard luck" for the client if it is in fact still interested.…[src]
Distributed garbage collection (DGC) in computing is a particular case of garbage collection where a remote client can hold references to an object.[src] DGC uses some combination of the classical garbage collection (GC) techniques, tracing and reference counting.[src] It has to cooperate with local garbage collectors in each process in order to keep global counts, or to globally trace accessibility of data.[src] In general, remote processors do not have to know about internal counting or tracing in a given process, and the relevant information is stored in interfaces associated with each process.[src] DGC is complex and can be costly and slow in freeing memory.[src] As a cheap way of avoiding DGC algorithms, one can rely on a time lease – set or configured on the remote object; it is the stub's task to periodically renew the lease on the remote object.[src] If the lease has expired, the server process (the process owning the remote object) can safely assume that either the client is no longer interested in the object, or that a network partition or crash obstructed lease renewal, in which case it is "hard luck" for the client if it is in fact still interested.[src] Hence, if there is only a single reference to the remote object on the server representing a remote reference from that client, that reference can be dropped, which will mean that the local garbage collector on the server will garbage-collect the object at some future point in time.[src]
15 sentences · 15 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Distributed garbage collection." encyclopegia.org, 2023, https://encyclopegia.org/wiki/distributed-garbage-collection. Accessed 03 December 2026.
Chicago
"Distributed garbage collection." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/distributed-garbage-collection.
APA
encyclopegia.org. (2023). Distributed garbage collection. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/distributed-garbage-collection
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON