Tony Printezis: Garbage Collection – Friendly Programming September 25, 2007
Posted by Deglan in Java.Tags: Garbage Collection, Java
trackback
Last week I had the good fortune to attend a re-run of the popular Java One session by Tony Printezis on Garbage Collection Friendly Programming. Tony is a Staff Engineer in the GC Group at Sun and a great speaker too; if you get the opportunity to attend one of his talks I’d strongly recommend that you go along. The key take away messages: keep it simple – use clear simple code rather than obscure code that tries to second guess the GC, user shorter-lived immutable objects rather than longer lived mutable objects, get to know the GC and when you are holding references. Whilst it’s not the same as having Tony share real life experiences, I thought that I’d share a few of the key papers referenced in the talk:
Interesting papers — the last one in particular is a nice high-level survey of garbage collection techniques. In case you’re not already familiar with it, you might find this book useful in providing more depth to some of those techniques (especially concurrent and incremental garbage collection methods, with their subtle tradeoffs).
Hi, I’m glad you enjoyed the talk. We had actually put a lot of effort into creating the material for it before JavaOne, but it seems to have paid off. And keep all the garbage coming!
[...] Reference Objects (WeakReferences, SoftReferences, etc.). They referred the audience to the “Garbage Collection-Friendly Programming” presentation they gave at 2007 JavaOne conference for more [...]