comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 6026:9f059abe8cf2

7131629: Generalize the CMS free list code Summary: Make the FreeChunk, FreeList, TreeList, and BinaryTreeDictionary classes usable outside CMS. Reviewed-by: brutisso, johnc, jwilhelm Contributed-by: coleen.phillimore@oracle.com
author jmasa
date Thu, 29 Mar 2012 19:46:24 -0700
parents b632e80fc9dc
children f69a5d43dc19
comparison
equal deleted inserted replaced
6016:3c91f2c9fd21 6026:9f059abe8cf2
186 }; 186 };
187 187
188 ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration( 188 ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(
189 ReservedSpace rs, size_t initial_byte_size, int level, 189 ReservedSpace rs, size_t initial_byte_size, int level,
190 CardTableRS* ct, bool use_adaptive_freelists, 190 CardTableRS* ct, bool use_adaptive_freelists,
191 FreeBlockDictionary::DictionaryChoice dictionaryChoice) : 191 FreeBlockDictionary<FreeChunk>::DictionaryChoice dictionaryChoice) :
192 CardGeneration(rs, initial_byte_size, level, ct), 192 CardGeneration(rs, initial_byte_size, level, ct),
193 _dilatation_factor(((double)MinChunkSize)/((double)(CollectedHeap::min_fill_size()))), 193 _dilatation_factor(((double)MinChunkSize)/((double)(CollectedHeap::min_fill_size()))),
194 _debug_collection_type(Concurrent_collection_type) 194 _debug_collection_type(Concurrent_collection_type)
195 { 195 {
196 HeapWord* bottom = (HeapWord*) _virtual_space.low(); 196 HeapWord* bottom = (HeapWord*) _virtual_space.low();