aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "GC" Watch "GC" New topic
Author

GC

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
"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: 2046
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
Greenhorn

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.
 
wood burning stoves
 
subject: GC
 
Similar Threads
Confusing in wait notify
[political?] Not the Baghdad Diaries
End of Netscape?
Accessing Remote File
Smilies in a web page