What is the role of GC(Garbage Collection) other then memory management
What is the role of GC开发者_如何学C (Garbage Collection) other then memory management?
-Anil
The role of the Garbage Collector is just the memory management. It remove non-referenced objects from memory. Therefore memory management is made much easier.
In some rare cases memory leaks are still possible.
Reducing bugs due to memory mis-management.
精彩评论