mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6725714: par compact - add a table to speed up bitmap searches
Reviewed-by: jmasa, tschatzl
This commit is contained in:
parent
c13149ab8d
commit
de314e391b
3 changed files with 309 additions and 52 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue