< prev index next >
src/share/vm/gc/parallel/psScavenge.cpp
Print this page
*** 288,298 ****
heap->increment_total_collections();
AdaptiveSizePolicyOutput(size_policy, heap->total_collections());
! if ((gc_cause != GCCause::_java_lang_system_gc) ||
UseAdaptiveSizePolicyWithSystemGC) {
// Gather the feedback data for eden occupancy.
young_gen->eden_space()->accumulate_statistics();
}
--- 288,298 ----
heap->increment_total_collections();
AdaptiveSizePolicyOutput(size_policy, heap->total_collections());
! if (!GCCause::is_user_requested_gc(gc_cause) ||
UseAdaptiveSizePolicyWithSystemGC) {
// Gather the feedback data for eden occupancy.
young_gen->eden_space()->accumulate_statistics();
}
< prev index next >