Java G1 GC Resources

Here are a couple of great resources on G1 – the new low latency server style garbage collector in jdk6u14 and jdk7.

It’s fascinating to note how radically different G1 is to its predecessors in its design and behaviour. In summary it offers utilisation of hardware parallelism (uses all cpu’s and cores to do its work), concurrency (does its work alongside application threads), predictability (via the pause prediction model), a fine grained homogenous region-based generational model and finally, my favourite of all, heap compaction to fight the heap fragmentation that occurs as a result of in-place deallocation on CMS. Once they’ve stabilised it further in jdk7 it should be a formidable next-generation alternative to CMS which is what we all want.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s