Skip to content

What is DGC? And how does it work?

Posted in Education, and WhoCodeFirst

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! 😇

If you enjoyed this article, Get email updates (It’s Free)
Translate »