changeset 13638:f28a28fc1497

8186797: cardtable_rs in g1CollectedHeap::initialize() defined, but never used Reviewed-by: tschatzl, ehelin
author zgu
date Wed, 30 Aug 2017 15:48:47 +0200
parents 5adfb4c2ed9c
children 644db104e2f0
files src/share/vm/gc/g1/g1CollectedHeap.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectedHeap.cpp	Wed Aug 30 13:04:44 2017 +0000
+++ b/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),