8302047
: G1: Remove unused G1RegionToSpaceMapper::_region_granularity
Reviewed-by: tschatzl
This commit is contained in:
parent
c92a7deba5
commit
3db352d003
@ -43,7 +43,6 @@ G1RegionToSpaceMapper::G1RegionToSpaceMapper(ReservedSpace rs,
|
|||||||
MEMFLAGS type) :
|
MEMFLAGS type) :
|
||||||
_listener(NULL),
|
_listener(NULL),
|
||||||
_storage(rs, used_size, page_size),
|
_storage(rs, used_size, page_size),
|
||||||
_region_granularity(region_granularity),
|
|
||||||
_region_commit_map(rs.size() * commit_factor / region_granularity, mtGC),
|
_region_commit_map(rs.size() * commit_factor / region_granularity, mtGC),
|
||||||
_memory_type(type) {
|
_memory_type(type) {
|
||||||
guarantee(is_power_of_2(page_size), "must be");
|
guarantee(is_power_of_2(page_size), "must be");
|
||||||
|
@ -49,7 +49,6 @@ class G1RegionToSpaceMapper : public CHeapObj<mtGC> {
|
|||||||
// Backing storage.
|
// Backing storage.
|
||||||
G1PageBasedVirtualSpace _storage;
|
G1PageBasedVirtualSpace _storage;
|
||||||
|
|
||||||
size_t _region_granularity;
|
|
||||||
// Mapping management
|
// Mapping management
|
||||||
CHeapBitMap _region_commit_map;
|
CHeapBitMap _region_commit_map;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user