--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2019-08-16 11:54:01.172870539 +0800 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2019-08-16 11:54:01.104868170 +0800 @@ -375,6 +375,8 @@ size_t size, size_t translation_factor); + void trace_heap(GCWhen::Type when, GCTracer* tracer); + double verify(bool guard, const char* msg); void verify_before_gc(); void verify_after_gc(); @@ -1621,6 +1623,8 @@ bool is_obj_dead_cond(const oop obj, const VerifyOption vo) const; + G1HeapSummary create_g1_heap_summary(); + // Printing virtual void print_on(outputStream* st) const;