Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eligible for gc?

 
John Fontana
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
John Fontana
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic