< prev index next >

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

Print this page
rev 9431 : dihop-changes
rev 9433 : imported patch erik-jmasa-review

@@ -1341,10 +1341,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);
+
   // Print the maximum heap capacity.
   virtual size_t max_capacity() const;
 
   virtual jlong millis_since_last_gc();
 
< prev index next >