Skip navigation.
Home

GC Performance in IBM JDK

After reading this article about Young vs. Old Generation GC, I decided to run the same tests in the IBM 1.4.2 JDK.

Setup

Results

IBM PoolIBM No PoolSun PoolSun No Pool
%GC39%0%78%9%
#Objects760,342,47448,335,363,654223,206,0014,043,776,370

Analysis

The IBM garbage collector doesn't work like the hotspot collector so the young vs. old question doesn't really mean anything. I don't really know what to make of the zero GCs for the non pooled instances.. somehow the vm doesn't even need to mark the objects that are not referenced for gc like the sun vm does. I need to read more about the way the IBM collector works to really figure this out. But the IBM vm sure does seem to do more in less time.. it created 3.5x more pooled objects and a staggering 12x more on non-pooled objects.

JRockit?

Might as well go Whole Hog and do a JRockit trial now, no?

Matt Fleming's picture

I wish I had the time!

The only reason I did the IBM JDK is because I am currently working on performance tuning at a client using the IBM JDK. But if I get the urge maybe I'll do a whole host of JDKs Smiling