8302047: G1: Remove unused G1RegionToSpaceMapper::_region_granularity

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2023-02-08 13:23:37 +00:00
parent c92a7deba5
commit 3db352d003
2 changed files with 0 additions and 2 deletions

View File

@ -43,7 +43,6 @@ G1RegionToSpaceMapper::G1RegionToSpaceMapper(ReservedSpace rs,
MEMFLAGS type) :
_listener(NULL),
_storage(rs, used_size, page_size),
_region_granularity(region_granularity),
_region_commit_map(rs.size() * commit_factor / region_granularity, mtGC),
_memory_type(type) {
guarantee(is_power_of_2(page_size), "must be");

View File

@ -49,7 +49,6 @@ class G1RegionToSpaceMapper : public CHeapObj<mtGC> {
// Backing storage.
G1PageBasedVirtualSpace _storage;
size_t _region_granularity;
// Mapping management
CHeapBitMap _region_commit_map;