File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Jul 27, 2000
Sep 03, 2000 23:16:00
Can a programmer code to run the GC whenever you want to?
Joined: Aug 29, 2000
Sep 04, 2000 02:34:00
GC can be called in the finalise method if you so want to do the garbage collection.
Joined: Aug 30, 2000
Sep 04, 2000 08:03:00
You can call System.gc() or Runtime.gc() any time you want but it does not guarantee garbage collection will occur.
Mike Meyers' Java 2 Certification Passport
subject: Garbage collection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014