Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp @ 1571:2d127394260e
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
Summary: Added new product ObjectAlignmentInBytes flag to control object alignment.
Reviewed-by: twisti, ysr, iveresov
author | kvn |
---|---|
date | Thu, 27 May 2010 18:01:56 -0700 |
parents | e018e6884bd8 |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1570:de91a2f25c7e | 1571:2d127394260e |
---|---|
131 void mangleFreed(size_t size) PRODUCT_RETURN; | 131 void mangleFreed(size_t size) PRODUCT_RETURN; |
132 | 132 |
133 void print_on(outputStream* st); | 133 void print_on(outputStream* st); |
134 }; | 134 }; |
135 | 135 |
136 // Alignment helpers etc. | 136 extern size_t MinChunkSize; |
137 #define numQuanta(x,y) ((x+y-1)/y) | |
138 enum AlignmentConstants { | |
139 MinChunkSize = numQuanta(sizeof(FreeChunk), MinObjAlignmentInBytes) * MinObjAlignment | |
140 }; | |
141 | 137 |