< prev index next >

src/hotspot/share/gc/parallel/psScavenge.cpp

Print this page
rev 52961 : 8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
Summary: Move check_gc_overhead_limit() and related code to its own class
Reviewed-by:

@@ -541,12 +541,11 @@
                                                eden_live,
                                                cur_eden,
                                                max_eden_size,
                                                false /* not full gc*/);
 
-          size_policy->check_gc_overhead_limit(young_live,
-                                               eden_live,
+          size_policy->check_gc_overhead_limit(eden_live,
                                                max_old_gen_size,
                                                max_eden_size,
                                                false /* not full gc*/,
                                                gc_cause,
                                                heap->soft_ref_policy());
< prev index next >