Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 20446:c10b463abc6e
8057824: methods to copy allocation context statistics
Reviewed-by: mikael, jmasa, tschatzl
author | jcoomes |
---|---|
date | Wed, 10 Sep 2014 13:01:13 -0700 |
parents | e5668dcf12e9 |
children | 7baf47cb97cb |
comparison
equal
deleted
inserted
replaced
20445:e5668dcf12e9 | 20446:c10b463abc6e |
---|---|
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, | |
1253 jlong* totals, | |
1254 jbyte* accuracy, | |
1255 jint len); | |
1256 | |
1252 // True iff an evacuation has failed in the most-recent collection. | 1257 // True iff an evacuation has failed in the most-recent collection. |
1253 bool evacuation_failed() { return _evacuation_failed; } | 1258 bool evacuation_failed() { return _evacuation_failed; } |
1254 | 1259 |
1255 void remove_from_old_sets(const HeapRegionSetCount& old_regions_removed, const HeapRegionSetCount& humongous_regions_removed); | 1260 void remove_from_old_sets(const HeapRegionSetCount& old_regions_removed, const HeapRegionSetCount& humongous_regions_removed); |
1256 void prepend_to_freelist(FreeRegionList* list); | 1261 void prepend_to_freelist(FreeRegionList* list); |