Technical Discussions

Wednesday Jan 13, 2010

Automatic memory management, a.k.a Garbage Collection, is one of the main benefits of a managed object-oriented language like Java. But in many ways its presence has made us lazy and sloppy: we don't care about generating garbage because "objects are cheap" and "the GC can clean it up easily". There is some truth in that, but it isn't a universal constant! Not all GCs are the same and sloppy habits can come back to haunt you in a real-time environment.[Read More]