< prev index next >

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

Print this page
rev 9416 : dihop-changes
rev 9418 : imported patch erik-jmasa-review

@@ -1350,10 +1350,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
+  // requires.
+  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 >