--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-06-08 11:33:20.089737075 +0200 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-06-08 11:33:19.965732177 +0200 @@ -87,6 +87,7 @@ class WorkGang; class G1Allocator; class G1ArchiveAllocator; +class G1FullGCScope; class G1HeapVerifier; class G1HeapSizingPolicy; @@ -510,6 +511,15 @@ AllocationContext_t context, bool* succeeded); private: + // Internal helpers used during full GC to split it up to + // increase readability. + void do_full_collection_inner(G1FullGCScope* scope); + void abort_concurrent_cycle(); + void prepare_heap_for_full_collection(); + void reset_card_cache_and_queue(); + void verify_before_full_collection(bool explicit_gc); + void verify_after_full_collection(); + // Helper method for satisfy_failed_allocation() HeapWord* satisfy_failed_allocation_helper(size_t word_size, AllocationContext_t context,