8327677: Parallel: Remove unused ParallelCompactData::clear
Reviewed-by: tschatzl
This commit is contained in:
parent
1877a48795
commit
06f7bb5a32
src/hotspot/share/gc/parallel
@ -494,12 +494,6 @@ bool ParallelCompactData::initialize_block_data()
|
||||
return false;
|
||||
}
|
||||
|
||||
void ParallelCompactData::clear()
|
||||
{
|
||||
memset(_region_data, 0, _region_vspace->committed_size());
|
||||
memset(_block_data, 0, _block_vspace->committed_size());
|
||||
}
|
||||
|
||||
void ParallelCompactData::clear_range(size_t beg_region, size_t end_region) {
|
||||
assert(beg_region <= _region_count, "beg_region out of range");
|
||||
assert(end_region <= _region_count, "end_region out of range");
|
||||
|
@ -412,7 +412,6 @@ public:
|
||||
HeapWord* target_beg, HeapWord* target_end,
|
||||
HeapWord** target_next);
|
||||
|
||||
void clear();
|
||||
void clear_range(size_t beg_region, size_t end_region);
|
||||
void clear_range(HeapWord* beg, HeapWord* end) {
|
||||
clear_range(addr_to_region_idx(beg), addr_to_region_idx(end));
|
||||
|
Loading…
x
Reference in New Issue
Block a user