This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]