< prev index next >

src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp

Print this page
rev 51152 : [mq]: gcbuildoptionspatch

@@ -107,18 +107,20 @@
   friend class ConcurrentMarkSweepGeneration;
   friend class CMSCollector;
   // Local alloc buffer for promotion into this space.
   friend class CompactibleFreeListSpaceLAB;
   // Allow scan_and_* functions to call (private) overrides of the auxiliary functions on this class
+#if INCLUDE_SERIALGC
   template <typename SpaceType>
   friend void CompactibleSpace::scan_and_adjust_pointers(SpaceType* space);
   template <typename SpaceType>
   friend void CompactibleSpace::scan_and_compact(SpaceType* space);
   template <typename SpaceType>
   friend void CompactibleSpace::verify_up_to_first_dead(SpaceType* space);
   template <typename SpaceType>
   friend void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* cp);
+#endif
 
   // "Size" of chunks of work (executed during parallel remark phases
   // of CMS collection); this probably belongs in CMSCollector, although
   // it's cached here because it's used in
   // initialize_sequential_subtasks_for_rescan() which modifies
< prev index next >