I am getting stuck on when to tell exactly when and which objects are eligible for garbage collection...I always miss these questions on mock exams. Does anyone have a good memory trick or concise process they use to get this? Would appreciate some pointers...
There's no real quick trick, but once you understand the concepts behind an object's life cycle-how it gets created, used, and discarded, then you will be able to understand garbage collection. If you have a specific question I can try to answer it for you.
Joined: Feb 28, 2002
Hi - I was having a frustrating mental block....I just drank a pot of coffee and dove into the Syngress book chapter on it, and also went through all gc-related questions on jq+....I think I've got it now...I had to get past not being able to "prove" the code in most cases... ...yawn...now it's time I set myself to null and go to sleep...(or is that John.sleep(8 hours)?)