mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 18:53:37 +00:00
8384835: Parallel: Removing unused local variable in ParallelCompactData::clear_range
Reviewed-by: tschatzl
This commit is contained in:
parent
21017f0747
commit
01d10f19aa
@ -280,7 +280,6 @@ 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");
|
||||
|
||||
const size_t region_cnt = end_region - beg_region;
|
||||
for (size_t i = beg_region; i < end_region; i++) {
|
||||
::new (&_region_data[i]) RegionData{};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user