mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8208669: GC changes to allow enabling -Wreorder
Reviewed-by: kbarrett
This commit is contained in:
parent
a00eff193f
commit
d702d5f8d2
80 changed files with 371 additions and 294 deletions
|
@ -45,15 +45,15 @@ CardTable::CardTable(MemRegion whole_heap, bool conc_scan) :
|
|||
_scanned_concurrently(conc_scan),
|
||||
_whole_heap(whole_heap),
|
||||
_guard_index(0),
|
||||
_guard_region(),
|
||||
_last_valid_index(0),
|
||||
_page_size(os::vm_page_size()),
|
||||
_byte_map_size(0),
|
||||
_byte_map(NULL),
|
||||
_byte_map_base(NULL),
|
||||
_cur_covered_regions(0),
|
||||
_covered(NULL),
|
||||
_committed(NULL),
|
||||
_cur_covered_regions(0),
|
||||
_byte_map(NULL),
|
||||
_byte_map_base(NULL)
|
||||
_guard_region()
|
||||
{
|
||||
assert((uintptr_t(_whole_heap.start()) & (card_size - 1)) == 0, "heap must start at card boundary");
|
||||
assert((uintptr_t(_whole_heap.end()) & (card_size - 1)) == 0, "heap must end at card boundary");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue