wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Garbage collection eligibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Garbage collection eligibility" Watch "Garbage collection eligibility" New topic
Author

Garbage collection eligibility

Fantine Ponter
Ranch Hand

Joined: Aug 11, 2008
Posts: 30
Please will someone straighten out my confusion.
I've put comments into the code below to show where I need answers/direction:

Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18505
    
  40

Wow... there are lots of questions here... almost too many. Anyway, I guess I'll take one of the methods.




Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18505
    
  40

Okay, I'll take another small method too...



Henry
Fantine Ponter
Ranch Hand

Joined: Aug 11, 2008
Posts: 30
Thanks Henry, I'll try to drum that into my head. I guess I'll wait for the clarification of the main method before I can say I finally understand it all now...
Fantine Ponter
Ranch Hand

Joined: Aug 11, 2008
Posts: 30
Henry, to answer your question:
***> BTW, what do you mean by "another useless reference"?

As I understand it, there seems to be no point in creating a reference if it has no object to reference, hence 'useless reference'.

I apologize for asking so many questions. The better I can understand each statement, and recognise the statements for what they are, the fewer questions I'll be asking in my very slow learning curve.

Thanks for your informative answers to my questions. I really appreciate it.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18505
    
  40

Okay, some more code explained (from the main() method) ...

Fantine Ponter
Ranch Hand

Joined: Aug 11, 2008
Posts: 30
okay, now the pieces are starting to fall into place. Thank you!
Fantine Ponter
Ranch Hand

Joined: Aug 11, 2008
Posts: 30
By George, I've got it! Thanks Henry
No more questions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Garbage collection eligibility
 
Similar Threads
Garbage Collector doubt
Garbage Collection Question from VoodooExam
Head First Java Be the Garbage Collector
GC
GARBAGE COLLECTION (HFJ PG 266 )