A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
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
I agree. Here's the link:
subject: Garbage collection
Garbage Collection - Boone's Mock Q
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015