DGC stands for Distributed Garbage Collection.
Remote Method Invocation (RMI) uses DGC for automatic garbage collection.
Since RMI involves remote object references across JVM’s, garbage collection can be quite difficult.
DGC uses a reference counting algorithm to provide automatic memory management for remote objects.
Happy Learning! 😇