diff --git a/src/hotspot/share/gc/serial/markSweep.hpp b/src/hotspot/share/gc/serial/markSweep.hpp
index d9b2d1e936b6c..92db32da4314a 100644
--- a/src/hotspot/share/gc/serial/markSweep.hpp
+++ b/src/hotspot/share/gc/serial/markSweep.hpp
@@ -86,7 +86,6 @@ class MarkSweep : AllStatic {
   //
   friend class AdjustPointerClosure;
   friend class KeepAliveClosure;
-  friend class VM_MarkSweep;
 
   //
   // Vars