Two Laptop Bag*
The moose likes Java in General and the fly likes Garbage Collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Garbage Collection" Watch "Garbage Collection" New topic
Author

Garbage Collection

Mohit Agarwal
Ranch Hand

Joined: Mar 30, 2004
Posts: 88
Hi All,

I want to know that how does the garbage collector came to know that a particular object is eligible for garbage collection as there can be many objects in the memory . So what alogorithm Garbage collection implements
to know whether an object posses any reachable reference to it or not.

Please let me know about this.

Bye,
Mohit Agarwal,
SCJP1.4
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Read this series

http://www-106.ibm.com/developerworks/ibm/library/i-garbage1/


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Garbage Collection