--- old/src/share/vm/gc/shared/strongRootsScope.hpp 2015-05-20 10:47:46.702460757 +0200 +++ new/src/share/vm/gc/shared/strongRootsScope.hpp 2015-05-20 10:47:46.558455899 +0200 @@ -28,7 +28,7 @@ #include "memory/allocation.hpp" class MarkScope : public StackObj { - public: + protected: MarkScope(); ~MarkScope(); };