< prev index next >

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

Print this page
rev 9282 : dihop-changes

@@ -1365,10 +1365,14 @@
   // Returns the humongous threshold for a specific region size
   static size_t humongous_threshold_for(size_t region_size) {
     return (region_size / 2);
   }
 
+  // Returns the number of regions the humongous object of the given word size
+  // covers.
+  static size_t humongous_obj_size_in_regions(size_t word_size);
+
   // Update mod union table with the set of dirty cards.
   void updateModUnion();
 
   // Set the mod union bits corresponding to the given memRegion.  Note
   // that this is always a safe operation, since it doesn't clear any
< prev index next >