< prev index next >

src/share/vm/gc/serial/defNewGeneration.hpp

Print this page

        

@@ -141,11 +141,11 @@
 
   // Return the size of a survivor space if this generation were of size
   // gen_size.
   size_t compute_survivor_size(size_t gen_size, size_t alignment) const {
     size_t n = gen_size / (SurvivorRatio + 2);
-    return n > alignment ? align_size_down(n, alignment) : alignment;
+    return n > alignment ? align_down(n, alignment) : alignment;
   }
 
  public:  // was "protected" but caused compile error on win32
   class IsAliveClosure: public BoolObjectClosure {
     Generation* _young_gen;
< prev index next >