--- old/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp 2010-03-10 14:49:34.000000000 -0800 +++ new/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp 2010-03-10 14:49:33.000000000 -0800 @@ -242,6 +242,9 @@ // 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: