src/hotspot/share/gc/parallel/psYoungGen.hpp
changeset 49982 9042ffe5b7fe
parent 47216 71c04702a3d5
child 50752 9d62da00bf15
--- a/src/hotspot/share/gc/parallel/psYoungGen.hpp	Fri May 04 09:29:14 2018 +0200
+++ b/src/hotspot/share/gc/parallel/psYoungGen.hpp	Fri May 04 11:41:35 2018 +0200
@@ -123,9 +123,11 @@
   PSMarkSweepDecorator* from_mark_sweep() const    { return _from_mark_sweep; }
   PSMarkSweepDecorator* to_mark_sweep() const      { return _to_mark_sweep;   }
 
+#if INCLUDE_SERIALGC
   void precompact();
   void adjust_pointers();
   void compact();
+#endif
 
   // Called during/after GC
   void swap_spaces();