8186797: cardtable_rs in g1CollectedHeap::initialize() defined, but never used
authorzgu
Wed, 30 Aug 2017 15:48:47 +0200
changeset 47097 e43050e1b17f
parent 47096 477158f58446
child 47098 e704f55561c3
8186797: cardtable_rs in g1CollectedHeap::initialize() defined, but never used Reviewed-by: tschatzl, ehelin
hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp
--- a/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp	Wed Aug 30 13:04:44 2017 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp	Wed Aug 30 15:48:47 2017 +0200
@@ -1719,7 +1719,6 @@
                              G1BlockOffsetTable::compute_size(g1_rs.size() / HeapWordSize),
                              G1BlockOffsetTable::heap_map_factor());
 
-  ReservedSpace cardtable_rs(G1SATBCardTableLoggingModRefBS::compute_size(g1_rs.size() / HeapWordSize));
   G1RegionToSpaceMapper* cardtable_storage =
     create_aux_memory_mapper("Card Table",
                              G1SATBCardTableLoggingModRefBS::compute_size(g1_rs.size() / HeapWordSize),