< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.cpp

Print this page
rev 9422 : 8143251: HeapRetentionTest.java Test is failing on jdk9/dev
Reviewed-by:
rev 9423 : [mq]: 8143251-user-requested-cm-rev1

*** 2248,2258 **** g1_policy()->phase_times()->record_evac_fail_recalc_used_time((os::elapsedTime() - recalculate_used_start) * 1000.0); return blk.result(); } ! bool G1CollectedHeap::user_requested_concurrent_full_gc(GCCause::Cause cause) { switch (cause) { case GCCause::_java_lang_system_gc: return ExplicitGCInvokesConcurrent; case GCCause::_dcmd_gc_run: return ExplicitGCInvokesConcurrent; case GCCause::_update_allocation_context_stats_inc: return true; case GCCause::_wb_conc_mark: return true; --- 2248,2258 ---- g1_policy()->phase_times()->record_evac_fail_recalc_used_time((os::elapsedTime() - recalculate_used_start) * 1000.0); return blk.result(); } ! bool G1CollectedHeap::is_user_requested_concurrent_full_gc(GCCause::Cause cause) { switch (cause) { case GCCause::_java_lang_system_gc: return ExplicitGCInvokesConcurrent; case GCCause::_dcmd_gc_run: return ExplicitGCInvokesConcurrent; case GCCause::_update_allocation_context_stats_inc: return true; case GCCause::_wb_conc_mark: return true;
*** 2262,2272 **** bool G1CollectedHeap::should_do_concurrent_full_gc(GCCause::Cause cause) { switch (cause) { case GCCause::_gc_locker: return GCLockerInvokesConcurrent; case GCCause::_g1_humongous_allocation: return true; ! default: return user_requested_concurrent_full_gc(cause); } } #ifndef PRODUCT void G1CollectedHeap::allocate_dummy_regions() { --- 2262,2272 ---- bool G1CollectedHeap::should_do_concurrent_full_gc(GCCause::Cause cause) { switch (cause) { case GCCause::_gc_locker: return GCLockerInvokesConcurrent; case GCCause::_g1_humongous_allocation: return true; ! default: return is_user_requested_concurrent_full_gc(cause); } } #ifndef PRODUCT void G1CollectedHeap::allocate_dummy_regions() {
< prev index next >