< prev index next >

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

Print this page
rev 8331 : [mq]: is_system_gc

*** 243,253 **** void AdaptiveSizePolicy::minor_collection_end(GCCause::Cause gc_cause) { // Update the pause time. _minor_timer.stop(); ! if (gc_cause != GCCause::_java_lang_system_gc || UseAdaptiveSizePolicyWithSystemGC) { double minor_pause_in_seconds = _minor_timer.seconds(); double minor_pause_in_ms = minor_pause_in_seconds * MILLIUNITS; // Sample for performance counter --- 243,253 ---- void AdaptiveSizePolicy::minor_collection_end(GCCause::Cause gc_cause) { // Update the pause time. _minor_timer.stop(); ! if (!GCCause::is_system_gc(gc_cause) || UseAdaptiveSizePolicyWithSystemGC) { double minor_pause_in_seconds = _minor_timer.seconds(); double minor_pause_in_ms = minor_pause_in_seconds * MILLIUNITS; // Sample for performance counter
< prev index next >