src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp

changeset 5201
5534bd30c151
parent 4904
7b835924c31c
child 5237
f2110083203d
equal deleted inserted replaced
5196:8dbc025ff709 5201:5534bd30c151
114 size_t young_gen_alignment() const { return _young_gen_alignment; } 114 size_t young_gen_alignment() const { return _young_gen_alignment; }
115 size_t old_gen_alignment() const { return _old_gen_alignment; } 115 size_t old_gen_alignment() const { return _old_gen_alignment; }
116 116
117 // The alignment used for eden and survivors within the young gen 117 // The alignment used for eden and survivors within the young gen
118 // and for boundary between young gen and old gen. 118 // and for boundary between young gen and old gen.
119 size_t intra_heap_alignment() const { return 64 * K; } 119 size_t intra_heap_alignment() const { return 64 * K * HeapWordSize; }
120 120
121 size_t capacity() const; 121 size_t capacity() const;
122 size_t used() const; 122 size_t used() const;
123 123
124 // Return "true" if all generations have reached the 124 // Return "true" if all generations have reached the

mercurial