diff -r b788134d664a -r c2364e06aa8d hotspot/src/share/vm/runtime/thread.hpp --- a/hotspot/src/share/vm/runtime/thread.hpp Wed Mar 04 02:23:38 2015 +0100 +++ b/hotspot/src/share/vm/runtime/thread.hpp Thu Mar 05 17:27:16 2015 +0100 @@ -702,7 +702,8 @@ static WatcherThread* _watcher_thread; static bool _startable; - volatile static bool _should_terminate; // updated without holding lock + // volatile due to at least one lock-free read + volatile static bool _should_terminate; os::WatcherThreadCrashProtection* _crash_protection; public: