Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 6848:8e47bac5643a
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 09 Oct 2012 10:11:38 +0200 |
parents | 8966c2d65d96 |
children | 633ba56cb013 |
comparison
equal
deleted
inserted
replaced
6847:65d07d9ee446 | 6848: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()) { |