Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 20584:ef9eda2c1abe
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
author | sjohanss |
---|---|
date | Thu, 30 Oct 2014 10:51:06 +0100 |
parents | e7d0505c8a30 |
children | ee10217e3d03 |
comparison
equal
deleted
inserted
replaced
20583:678a467a733b | 20584:ef9eda2c1abe |
---|---|
1247 virtual void collect(GCCause::Cause cause); | 1247 virtual void collect(GCCause::Cause cause); |
1248 | 1248 |
1249 // The same as above but assume that the caller holds the Heap_lock. | 1249 // The same as above but assume that the caller holds the Heap_lock. |
1250 void collect_locked(GCCause::Cause cause); | 1250 void collect_locked(GCCause::Cause cause); |
1251 | 1251 |
1252 virtual void copy_allocation_context_stats(const jint* contexts, | 1252 virtual bool copy_allocation_context_stats(const jint* contexts, |
1253 jlong* totals, | 1253 jlong* totals, |
1254 jbyte* accuracy, | 1254 jbyte* accuracy, |
1255 jint len); | 1255 jint len); |
1256 | 1256 |
1257 // True iff an evacuation has failed in the most-recent collection. | 1257 // True iff an evacuation has failed in the most-recent collection. |