--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2020-02-11 11:34:43.232050344 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2020-02-11 11:34:42.824037800 +0100 @@ -543,6 +543,8 @@ void verify_numa_regions(const char* desc); + void update_heap_target_size(); + public: G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; } @@ -1287,6 +1289,9 @@ // Return the size of reserved memory. Returns different value than max_capacity() when AllocateOldGenAt is used. virtual size_t max_reserved_capacity() const; + // Print the soft maximum heap capacity. + size_t soft_max_capacity() const; + virtual jlong millis_since_last_gc();