8186797: cardtable_rs in g1CollectedHeap::initialize() defined, but never used
Reviewed-by: tschatzl, ehelin
--- 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),