5 Tips for Avoiding Automatic Garbage Collections

added by bsenoff
11/24/2011 1:53:21 AM

8 Kicks, 315 Views

The garbage collector is a brilliant piece of software engineering, but sometimes collections occur at inconvenient times. If you need to write high performance, real-time code, you generally want to avoid GC collections during times where execution speed is critical.


11/24/2011 6:24:58 PM
This is a great set of tips, actually. This may just have to go in my monthly pick. Okay, so I actually slightly dispute the title of the article, since it implies you should be thinking a lot about the internals of GC (which you really shouldn't) -- "bad memory performance" would be better in place of "garbage collections". But yeah, handy article for sure.