src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp

Print this page

        

@@ -240,10 +240,13 @@
   void record_gen_tops_before_GC() PRODUCT_RETURN;
 
   // Mangle the unused parts of all spaces in the heap
   void gen_mangle_unused_area() PRODUCT_RETURN;
 
+  // Try to shrink the heap based on the free ratio
+  bool try_to_shrink_by_free_ratio(bool isFullGC);
+
   // Call these in sequential code around the processing of strong roots.
   class ParStrongRootsScope : public MarkingCodeBlobClosure::MarkScope {
   public:
     ParStrongRootsScope();
     ~ParStrongRootsScope();