By dannycoward on Aug 25, 2009
There's an interesting article over at Dr Dobbs about the new Garbage First collector, scheduled for prime time in JDK 7, and currently available to try out as an optional collector in the Java SE 6 update releases. Published experiences with this new memory management technique for Java are rare, though some have had good results.
The article examines in some detail the algorithms used in this collector, and hints at how they achieve the mostly prescribable pause limits. For those of you who don't often lift up the hood of the car you're driving you may need to refresh your general background on garbage collectors, their different flavors and algorithms.
And for those of you just interested in how to make it work, the article has a nice section on the knobs and levers you can pull to tune it for your own applications.