Galahady Gao
Posts: 4
Nickname: galahady
Registered: Jun, 2002
|
|
Re: Garbage collection
|
Posted: Jun 4, 2002 3:55 AM
|
|
As far as I know, Java programming langugae doesn't provide any methods to control the garbage collectoin process.
But, there is a System.gc(). Although System.gc() doesn't guarantee the JVM will start the GC(Garbage Clollection) at once, it really is able to 'urge' JVM to do GC.
So, based on this point, you can make a timer thread to call System.gc() at a specific interval.
Hope the GC timer is what you want!
|
|