--- a/src/hotspot/share/gc/shared/genCollectedHeap.hpp Thu Mar 07 10:32:55 2019 +0100
+++ b/src/hotspot/share/gc/shared/genCollectedHeap.hpp Thu Mar 07 10:50:52 2019 +0100
@@ -497,6 +497,10 @@
// Save the tops of the spaces in all generations
void record_gen_tops_before_GC() PRODUCT_RETURN;
+
+ // Return true if we need to perform full collection.
+ bool should_do_full_collection(size_t size, bool full,
+ bool is_tlab, GenerationType max_gen) const;
};
#endif // SHARE_GC_SHARED_GENCOLLECTEDHEAP_HPP