A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Jun 22, 2005
Nov 26, 2005 04:09:00
"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
The Linux Documentation Project
Joined: Feb 26, 2005
Nov 26, 2005 05:17:00
Definitely, of course, it is false. You could suggest garbage collection, but it still is up to jvm if he will do it.
Joined: Jun 26, 2005
Nov 26, 2005 06:12:00
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:
Confusing in wait notify
[political?] Not the Baghdad Diaries
End of Netscape?
Accessing Remote File
Smilies in a web page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014