--- old/src/share/vm/gc_implementation/g1/g1HotCardCache.cpp 2014-08-11 10:12:31.221843864 +0200 +++ new/src/share/vm/gc_implementation/g1/g1HotCardCache.cpp 2014-08-11 10:12:31.137845940 +0200 @@ -44,9 +44,7 @@ _hot_cache_idx = 0; // For refining the cards in the hot cache in parallel - uint n_workers = (ParallelGCThreads > 0 ? - _g1h->workers()->total_workers() : 1); - _hot_cache_par_chunk_size = MAX2(1, _hot_cache_size / (int)n_workers); + _hot_cache_par_chunk_size = (ParallelGCThreads > 0 ? 32 : _hot_cache_size); _hot_cache_par_claimed_idx = 0; _card_counts.initialize();