src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp

changeset 4159
8e47bac5643a
parent 4098
8966c2d65d96
child 4177
633ba56cb013
equal deleted inserted replaced
4158:65d07d9ee446 4159:8e47bac5643a
220 // Verify the assumption that FreeChunk::_prev and OopDesc::_klass 220 // Verify the assumption that FreeChunk::_prev and OopDesc::_klass
221 // offsets match. The ability to tell free chunks from objects 221 // offsets match. The ability to tell free chunks from objects
222 // depends on this property. 222 // depends on this property.
223 debug_only( 223 debug_only(
224 FreeChunk* junk = NULL; 224 FreeChunk* junk = NULL;
225 assert(UseCompressedOops || 225 assert(UseCompressedKlassPointers ||
226 junk->prev_addr() == (void*)(oop(junk)->klass_addr()), 226 junk->prev_addr() == (void*)(oop(junk)->klass_addr()),
227 "Offset of FreeChunk::_prev within FreeChunk must match" 227 "Offset of FreeChunk::_prev within FreeChunk must match"
228 " that of OopDesc::_klass within OopDesc"); 228 " that of OopDesc::_klass within OopDesc");
229 ) 229 )
230 if (CollectedHeap::use_parallel_gc_threads()) { 230 if (CollectedHeap::use_parallel_gc_threads()) {

mercurial