< prev index next >

src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

Print this page
rev 6817 : 8061234: ResourceContext.requestAccurateUpdate() is unreliable
Summary: Changing copy_allocation_context_stats to return if there are more stats available after the copy.
Reviewed-by: rriggs, jcoomes

*** 1247,1257 **** virtual void collect(GCCause::Cause cause); // The same as above but assume that the caller holds the Heap_lock. void collect_locked(GCCause::Cause cause); ! virtual void copy_allocation_context_stats(const jint* contexts, jlong* totals, jbyte* accuracy, jint len); // True iff an evacuation has failed in the most-recent collection. --- 1247,1257 ---- virtual void collect(GCCause::Cause cause); // The same as above but assume that the caller holds the Heap_lock. void collect_locked(GCCause::Cause cause); ! virtual bool copy_allocation_context_stats(const jint* contexts, jlong* totals, jbyte* accuracy, jint len); // True iff an evacuation has failed in the most-recent collection.
< prev index next >