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

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version