< prev index next >

src/hotspot/share/gc/parallel/psYoungGen.hpp

Print this page
rev 59215 : imported patch max_gen_size

@@ -102,13 +102,10 @@
   MutableSpace*   eden_space() const    { return _eden_space; }
   MutableSpace*   from_space() const    { return _from_space; }
   MutableSpace*   to_space() const      { return _to_space; }
   PSVirtualSpace* virtual_space() const { return _virtual_space; }
 
-  // For Adaptive size policy
-  size_t min_gen_size() { return _min_gen_size; }
-
   // Called during/after GC
   void swap_spaces();
 
   // Resize generation using suggested free space size and survivor size
   // NOTE:  "eden_size" and "survivor_size" are suggestions only. Current

@@ -123,15 +120,12 @@
 
   size_t capacity_in_words() const;
   size_t used_in_words() const;
   size_t free_in_words() const;
 
-  // The max this generation can grow to
-  size_t max_size() const { return _reserved.byte_size(); }
-
-  // The max this generation can grow to
-  size_t gen_size_limit() const { return _max_gen_size; }
+  size_t min_gen_size() const { return _min_gen_size; }
+  size_t max_gen_size() const { return _max_gen_size; }
 
   bool is_maximal_no_gc() const {
     return true;  // Never expands except at a GC
   }
 
< prev index next >