Choosing a garbage collection algorithm in HotSpot