changeset 8855:e9d225520e8c

8133349: CMS: Assert failed: Ctl pt invariant Summary: _survivor_chunk_array should be sized based on PLAB::min_size() not ThreadLocalAllocBuffer::min_size() Reviewed-by: tschatzl, jwilhelm
author ecaspole
date Tue, 18 Aug 2015 14:04:24 -0400
parents 1facc49c0499
children 5ca290fb5d6e d9bc27b8ef1e
files src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp	Tue Aug 18 17:32:10 2015 +0200
+++ b/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp	Tue Aug 18 14:04:24 2015 -0400
@@ -620,7 +620,7 @@
   // Support for parallelizing survivor space rescan
   if ((CMSParallelRemarkEnabled && CMSParallelSurvivorRemarkEnabled) || CMSParallelInitialMarkEnabled) {
     const size_t max_plab_samples =
-      _young_gen->max_survivor_size() / (ThreadLocalAllocBuffer::min_size() * HeapWordSize);
+      _young_gen->max_survivor_size() / (PLAB::min_size() * HeapWordSize);
 
     _survivor_plab_array  = NEW_C_HEAP_ARRAY(ChunkArray, ParallelGCThreads, mtGC);
     _survivor_chunk_array = NEW_C_HEAP_ARRAY(HeapWord*, max_plab_samples, mtGC);