< prev index next >

src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp

Print this page
rev 8330 : 7012980: PSOldGen is increased if there is no space in Metaspace
Reviewed-by:
rev 8331 : [mq]: is_system_gc

@@ -486,11 +486,11 @@
                                bool   is_full_gc,
                                GCCause::Cause gc_cause,
                                CollectorPolicy* collector_policy);
 
   static bool should_update_promo_stats(GCCause::Cause cause) {
-    return ((cause == GCCause::_java_lang_system_gc  &&
+    return ((GCCause::is_system_gc(cause)  &&
                UseAdaptiveSizePolicyWithSystemGC) ||
             GCCause::is_tenured_allocation_failure_gc(cause));
   }
 
   // Printing support
< prev index next >