--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2014-12-22 15:23:30.187970633 +0100 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2014-12-22 15:23:30.120968663 +0100 @@ -214,6 +214,9 @@ friend class G1MarkSweep; friend class HeapRegionClaimer; + // Testing classes. + friend class G1CheckCSetFastTableClosure; + private: // The one and only G1CollectedHeap, so static functions can find it. static G1CollectedHeap* _g1h;