Answer:
The garbage collector's optimizing engine determines the best time to perform a collection based upon the allocations being made. When the garbage collector performs a collection, it checks for objects in the managed heap that are no longer being used by the application and performs the necessary operations to reclaim their memory.
Source: http://www.devx.com/ | Asked In: Many Interviews |
Alert Moderator