--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-02-28 10:16:49.965462254 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-02-28 10:16:49.694454014 +0100 @@ -1063,8 +1063,8 @@ // Perform a collection of the heap with the given cause; if the VM operation // fails to execute for any reason, retry only if retry_on_gc_failure is set. - // Returns whether this collection attempt actually executed. - bool attempt_collect(GCCause::Cause cause, bool retry_on_gc_failure); + // Returns whether this collection actually executed. + bool try_collect(GCCause::Cause cause, bool retry_on_gc_failure); // True iff an evacuation has failed in the most-recent collection. bool evacuation_failed() { return _evacuation_failed; }