diff -r fd9feb55481c -r e5668dcf12e9 src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp Wed Sep 10 19:05:54 2014 +0000 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp Wed Sep 10 13:01:13 2014 -0700 @@ -37,6 +37,10 @@ // Inline functions for G1CollectedHeap +inline AllocationContextStats& G1CollectedHeap::allocation_context_stats() { + return _allocation_context_stats; +} + // Return the region with the given index. It assumes the index is valid. inline HeapRegion* G1CollectedHeap::region_at(uint index) const { return _hrm.at(index); }