# HG changeset patch # User tschatzl # Date 1447150035 -3600 # Node ID 62f8fb907ad5bb12102b5fc43b1576ca9d1d4c63 # Parent ee899178e46b3173530b029d30bed437c5808b17 8139874: After G1 Full GC, the next GC is always a young-only GC Summary: Allow initiation of an initial mark after Full GC Reviewed-by: ehelin diff -r ee899178e46b -r 62f8fb907ad5 hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp --- a/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp Tue Nov 10 11:07:15 2015 +0100 +++ b/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp Tue Nov 10 11:07:15 2015 +0100 @@ -811,7 +811,7 @@ // transitions and make sure we start with young GCs after the Full GC. collector_state()->set_gcs_are_young(true); collector_state()->set_last_young_gc(false); - collector_state()->set_initiate_conc_mark_if_possible(false); + collector_state()->set_initiate_conc_mark_if_possible(need_to_start_conc_mark("end of Full GC", 0)); collector_state()->set_during_initial_mark_pause(false); collector_state()->set_in_marking_window(false); collector_state()->set_in_marking_window_im(false);