This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Announcement: micro-libgcj
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