--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-11-24 10:07:42.605875911 +0100 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-11-24 10:07:42.477870959 +0100 @@ -245,8 +245,6 @@ // explicitly started if: // (a) cause == _gc_locker and +GCLockerInvokesConcurrent, or // (b) cause == _g1_humongous_allocation - // These are defined in user_requested_concurrent_full_gc() because - // these sometimes need to be treated differently: // (c) cause == _java_lang_system_gc and +ExplicitGCInvokesConcurrent. // (d) cause == _dcmd_gc_run and +ExplicitGCInvokesConcurrent. // (e) cause == _update_allocation_context_stats_inc @@ -580,10 +578,7 @@ _in_cset_fast_test.clear(); } - // A complement to should_do_concurrent_full_gc. GCs caused - // by a user sometimes needs to be treated differently - // from those caused by the VM. - bool user_requested_concurrent_full_gc(GCCause::Cause cause); + bool is_user_requested_concurrent_full_gc(GCCause::Cause cause); // This is called at the start of either a concurrent cycle or a Full // GC to update the number of old marking cycles started.