Skip to content

Commit f35cf79

Browse files
committed
8302867: G1: Removing unused variable in G1CardTable::initialize
Reviewed-by: tschatzl
1 parent 63a3501 commit f35cf79

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/hotspot/share/gc/g1/g1CardTable.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ void G1CardTable::initialize(G1RegionToSpaceMapper* mapper) {
5252

5353
_byte_map_size = mapper->reserved().byte_size();
5454

55-
size_t num_cards = cards_required(_whole_heap.word_size());
56-
5755
HeapWord* low_bound = _whole_heap.start();
5856
HeapWord* high_bound = _whole_heap.end();
5957

0 commit comments

Comments
 (0)