# HG changeset patch # User zgu # Date 1504100927 -7200 # Node ID e43050e1b17f03adf34fb097f4aeadf5daef16ee # Parent 477158f58446ec43d2e41ca935b28b60a1181344 8186797: cardtable_rs in g1CollectedHeap::initialize() defined, but never used Reviewed-by: tschatzl, ehelin diff -r 477158f58446 -r e43050e1b17f 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),