< prev index next >

src/hotspot/share/gc/g1/heapRegion.hpp

Print this page
rev 51152 : [mq]: gcbuildoptionspatch

@@ -188,13 +188,15 @@
   }
 };
 
 class HeapRegion: public G1ContiguousSpace {
   friend class VMStructs;
+#if INCLUDE_SERIALGC
   // Allow scan_and_forward to call (private) overrides for auxiliary functions on this class
   template <typename SpaceType>
   friend void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* cp);
+#endif
  private:
 
   // The remembered set for this region.
   // (Might want to make this "inline" later, to avoid some alloc failure
   // issues.)
< prev index next >