Skip to content

Commit

Permalink
8302047: G1: Remove unused G1RegionToSpaceMapper::_region_granularity
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl
  • Loading branch information
albertnetymk committed Feb 8, 2023
1 parent c92a7de commit 3db352d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/hotspot/share/gc/g1/g1RegionToSpaceMapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class G1RegionToSpaceMapper : public CHeapObj<mtGC> {
// Backing storage.
G1PageBasedVirtualSpace _storage;

size_t _region_granularity;
// Mapping management
CHeapBitMap _region_commit_map;

Expand Down

1 comment on commit 3db352d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.