diff src/share/vm/gc_implementation/g1/g1CollectedHeap_ext.cpp @ 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 c10b463abc6e
children
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap_ext.cpp	Tue May 27 08:44:23 2014 -0700
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap_ext.cpp	Thu Oct 30 10:51:06 2014 +0100
@@ -25,8 +25,9 @@
 #include "precompiled.hpp"
 #include "gc_implementation/g1/g1CollectedHeap.hpp"
 
-void G1CollectedHeap::copy_allocation_context_stats(const jint* contexts,
+bool G1CollectedHeap::copy_allocation_context_stats(const jint* contexts,
                                                     jlong* totals,
                                                     jbyte* accuracy,
                                                     jint len) {
+  return false;
 }