1.1 --- a/src/share/vm/gc_interface/collectedHeap.hpp Wed Sep 10 13:01:13 2014 -0700 1.2 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Wed Sep 10 13:01:13 2014 -0700 1.3 @@ -637,6 +637,15 @@ 1.4 // actual number may be germane. 1.5 static bool use_parallel_gc_threads() { return ParallelGCThreads > 0; } 1.6 1.7 + // Copy the current allocation context statistics for the specified contexts. 1.8 + // For each context in contexts, set the corresponding entries in the totals 1.9 + // and accuracy arrays to the current values held by the statistics. Each 1.10 + // array should be of length len. 1.11 + virtual void copy_allocation_context_stats(const jint* contexts, 1.12 + jlong* totals, 1.13 + jbyte* accuracy, 1.14 + jint len) { } 1.15 + 1.16 /////////////// Unit tests /////////////// 1.17 1.18 NOT_PRODUCT(static void test_is_in();)