This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes GC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "GC" Watch "GC" New topic


Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
"You can directly run the grabage collector whenever you want."

-What does that mean?? And what should I say if it is true or false???
[ November 26, 2005: Message edited by: Akhil Trivedi ]

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Definitely, of course, it is false. You could suggest garbage collection, but it still is up to jvm if he will do it.
madhu cm

Joined: Jun 26, 2005
Posts: 20
yes, you can only request a GC to run by calling a method System.gc()....
The JVM takes your request but it is not sure that it will run GC always because you are just making a request not instructing to do.
I agree. Here's the link:
subject: GC
Similar Threads
Confusing in wait notify
Accessing Remote File
End of Netscape?
Smilies in a web page
[political?] Not the Baghdad Diaries