src/hotspot/share/gc/shared/genCollectedHeap.hpp
changeset 54019 15595ecf9cf1
parent 53536 482109fae02b
child 54093 9d02451b536e
--- 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