6725714: par compact - add a table to speed up bitmap searches

Reviewed-by: jmasa, tschatzl
This commit is contained in:
John Coomes 2013-05-30 13:04:51 -07:00
parent c13149ab8d
commit de314e391b
3 changed files with 309 additions and 52 deletions

View file

@ -116,7 +116,7 @@ class ParallelScavengeHeap : public CollectedHeap {
// The alignment used for eden and survivors within the young gen
// and for boundary between young gen and old gen.
size_t intra_heap_alignment() const { return 64 * K; }
size_t intra_heap_alignment() const { return 64 * K * HeapWordSize; }
size_t capacity() const;
size_t used() const;