1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Thu Sep 22 10:57:37 2011 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Fri Sep 23 16:07:49 2011 -0400 1.3 @@ -597,7 +597,10 @@ 1.4 1.5 public: 1.6 1.7 - G1MonitoringSupport* g1mm() { return _g1mm; } 1.8 + G1MonitoringSupport* g1mm() { 1.9 + assert(_g1mm != NULL, "should have been initialized"); 1.10 + return _g1mm; 1.11 + } 1.12 1.13 // Expand the garbage-first heap by at least the given size (in bytes!). 1.14 // Returns true if the heap was expanded by the requested amount;