< prev index next >

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

Print this page
rev 48959 : 8198420: Remove unused extension point AllocationContextStats
Reviewed-by:

*** 1987,1997 **** 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; default : return false; } } --- 1987,1996 ----
*** 2540,2551 **** double start = os::elapsedTime(); resize_all_tlabs(); g1_policy()->phase_times()->record_resize_tlab_time_ms((os::elapsedTime() - start) * 1000.0); - allocation_context_stats().update(full); - MemoryService::track_memory_usage(); // We have just completed a GC. Update the soft reference // policy with the new heap occupancy Universe::update_heap_info_at_gc(); } --- 2539,2548 ----
< prev index next >