diff 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
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Wed Sep 10 13:01:13 2014 -0700
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Wed Sep 10 13:01:13 2014 -0700
@@ -1249,6 +1249,11 @@
   // 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.
   bool evacuation_failed() { return _evacuation_failed; }