One of the way to make object eligible for Garbage Collection is "Islands of Isolation". I'm not getting that point. Could you elaborate it in detail. THANKS Somesh
There is an object of the heap we used to refer to using 'a' that holds a reference to the object we used to refer to using 'b' and vice versa. At this point both objects should be (and are eligible for garbage collection because the are no references to these object as they only refer to each other.