--- old/src/hotspot/share/gc/serial/defNewGeneration.cpp 2018-02-21 18:45:32.880811734 +0100 +++ new/src/hotspot/share/gc/serial/defNewGeneration.cpp 2018-02-21 18:45:32.696805467 +0100 @@ -616,9 +616,6 @@ 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);