--- old/src/share/vm/memory/strongRootsScope.cpp 2015-04-02 13:03:45.692244496 +0200 +++ new/src/share/vm/memory/strongRootsScope.cpp 2015-04-02 13:03:45.580244500 +0200 @@ -28,8 +28,7 @@ #include "memory/strongRootsScope.hpp" #include "runtime/thread.hpp" -MarkScope::MarkScope(bool activate) - : _active(activate) { +MarkScope::MarkScope(bool activate) : _active(activate) { if (_active) { nmethod::oops_do_marking_prologue(); } @@ -41,8 +40,7 @@ } } -StrongRootsScope::StrongRootsScope(bool activate) - : MarkScope(activate) { +StrongRootsScope::StrongRootsScope(bool activate) : MarkScope(activate) { if (_active) { Threads::change_thread_claim_parity(); // Zero the claimed high water mark in the StringTable --- old/src/share/vm/memory/strongRootsScope.hpp 2015-04-02 13:03:45.884244488 +0200 +++ new/src/share/vm/memory/strongRootsScope.hpp 2015-04-02 13:03:45.776244492 +0200 @@ -25,6 +25,8 @@ #ifndef SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP #define SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP +#include "memory/allocation.hpp" + class MarkScope : public StackObj { protected: bool _active;