This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eligible for gc?

 
John Fontana
Ranch Hand
Posts: 235
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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)?)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic