mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
ec1f61711b
commit
b0b6b497a4
18 changed files with 101 additions and 102 deletions
|
@ -406,19 +406,16 @@ size_t mark_bitmap_count;
|
|||
size_t mark_bitmap_size;
|
||||
#endif // #ifdef ASSERT
|
||||
|
||||
ParallelCompactData::ParallelCompactData()
|
||||
{
|
||||
_region_start = 0;
|
||||
|
||||
_region_vspace = 0;
|
||||
_reserved_byte_size = 0;
|
||||
_region_data = 0;
|
||||
_region_count = 0;
|
||||
|
||||
_block_vspace = 0;
|
||||
_block_data = 0;
|
||||
_block_count = 0;
|
||||
}
|
||||
ParallelCompactData::ParallelCompactData() :
|
||||
_region_start(NULL),
|
||||
DEBUG_ONLY(_region_end(NULL) COMMA)
|
||||
_region_vspace(NULL),
|
||||
_reserved_byte_size(0),
|
||||
_region_data(NULL),
|
||||
_region_count(0),
|
||||
_block_vspace(NULL),
|
||||
_block_data(NULL),
|
||||
_block_count(0) {}
|
||||
|
||||
bool ParallelCompactData::initialize(MemRegion covered_region)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue