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()) { |