src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp

Print this page

        

@@ -583,11 +583,11 @@
                                                      _tenuring_threshold,
                                                      survivor_limit);
   size_policy->avg_young_live()->sample(used());
   size_policy->avg_eden_live()->sample(eden()->used());
 
-  size_policy->compute_young_generation_free_space(eden()->capacity(),
+  size_policy->compute_eden_space_size(eden()->capacity(),
                                                    max_gen_size());
 
   resize(size_policy->calculated_eden_size_in_bytes(),
          size_policy->calculated_survivor_size_in_bytes());