< prev index next >

src/share/vm/gc/g1/heapRegionManager.hpp

Print this page
rev 8825 : [mq]: rev2
rev 8826 : [mq]: rev3

@@ -239,12 +239,13 @@
 
   // Uncommit up to num_regions_to_remove regions that are completely free.
   // Return the actual number of uncommitted regions.
   uint shrink_by(uint num_regions_to_remove);
 
-  // Uncommit the region at the specified index, which must be available and free.
-  void shrink_at(uint index);
+  // Uncommit a number of regions starting at the specified index, which must be available,
+  // empty, and free.
+  void shrink_at(uint index, size_t num_regions);
 
   void verify();
 
   // Do some sanity checking.
   void verify_optional() PRODUCT_RETURN;
< prev index next >