< prev index next >

src/hotspot/share/gc/serial/defNewGeneration.cpp

Print this page

        

@@ -614,13 +614,10 @@
   gch->rem_set()->prepare_for_younger_refs_iterate(false);
 
   assert(gch->no_allocs_since_save_marks(),
          "save marks have not been newly set.");
 
-  // Not very pretty.
-  CollectorPolicy* cp = gch->collector_policy();
-
   FastScanClosure fsc_with_no_gc_barrier(this, false);
   FastScanClosure fsc_with_gc_barrier(this, true);
 
   CLDScanClosure cld_scan_closure(&fsc_with_no_gc_barrier,
                                   gch->rem_set()->cld_rem_set()->accumulate_modified_oops());
< prev index next >