hotspot/src/share/vm/gc/g1/g1CollectedHeap.hpp
changeset 34298 f3c9dcc5af96
parent 34241 78486dc87f38
child 34302 c932a347d579
--- a/hotspot/src/share/vm/gc/g1/g1CollectedHeap.hpp	Wed Nov 25 11:34:16 2015 +0100
+++ b/hotspot/src/share/vm/gc/g1/g1CollectedHeap.hpp	Tue Nov 24 10:22:36 2015 +0100
@@ -1343,6 +1343,10 @@
     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;