Announcement: micro-libgcj
Joel Dice
dicej@mailsnare.net
Fri Jan 6 14:43:00 GMT 2006
On Fri, 6 Jan 2006, Martin Egholm Nielsen wrote:
> This may be trivial, but if garbage collection is removed, how do one clean
> up?
One doesn't. :)
Many short-lived command-line programs don't need any memory management at
all - they complete before the garbage collector needs to collect
anything. For such programs, garbage collection is just bloat.
It would be trivial to add a System.free(Object) function, allowing
explicit memory management, if it was needed.
- Joel
More information about the Java
mailing list