--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2019-03-21 15:28:15.382607770 +0800 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2019-03-21 15:28:15.232612083 +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;