Saturday, April 7, 2012

Episode 22. Garbage man! An introduction on the finer details Garbage Collection

Garbage collections are like the engine of a car, we know it works, we know that it powers the car, but not much else, but once it breaks down, we usually don't have a too much of a clue on how to fix it. In this episode we talk about how garbage collections happen, the things it looks for, and more importantly, how it changes your code (there are certain things that you can do to make your code garbage collector friendly). Having this knowledge will help you in the long road on troubleshooting any garbage collection issues (including tuning!), so take a listen to the garbage man!

There is a new band in town! Lambda Expression. Listen to me, and my one-man band in facebook (www.facebook.com/lambdaexpression). And LIKE! (doesn't cost anything!)

Hey! if you like what you hear, treat me a beer! (It's the Java pub house after all :)

Vote for us in iTunes (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
Follow us in Twitter! https://twitter.com/#!/fguime

The holy grail of JVM Tuning http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html
YourKit Java memory profiler http://www.yourkit.com/
Charlie Hunt Java performance book http://www.amazon.com/Java-Performance-Charlie-Hunt/dp/0137142528
Questions, feedback or comments! comments@javapubhouse.com
Subscribe to our podcast! (http://javapubhouse.libsyn.com/rss)
ITunes link (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
Java 7 Recipes book! (http://www.amazon.com/gp/product/1430240563/ref=as_li_ss_il?ie=UTF8&tag=meq-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430240563)

3 comments:

  1. Very happy so such a usable podcast on java technology. I was catching up on old episodes, I note a mistake in this episode around 16:20-16:40 mark. Here you were mentioning that objects will get promoted to "permgen space" from young generation, which is incorrect. I think that was an "oral typo" but that can mislead a lot of guys who are new to GC and stuff. Thanks for your efforts.

    ReplyDelete
  2. Ah, you are right, meant to say "Tenured" space (well, at least with G1 Perm space is gone). Thanks for the catch!

    ReplyDelete
  3. In many cases, repairing your garbage disposal is the best way to handle your garbage disposal problems. This is the case because we can often replace the faulty parts that are the cause of most garbage disposal problems.
    garbage disposal 2021

    ReplyDelete