--- old/src/share/vm/runtime/thread.hpp 2017-07-06 12:35:42.398630042 +0200 +++ new/src/share/vm/runtime/thread.hpp 2017-07-06 12:35:42.251625034 +0200 @@ -739,8 +739,6 @@ static bool _startable; // volatile due to at least one lock-free read volatile static bool _should_terminate; - - os::WatcherThreadCrashProtection* _crash_protection; public: enum SomeConstants { delay_interval = 10 // interrupt delay in milliseconds @@ -771,15 +769,6 @@ // Only allow start once the VM is sufficiently initialized // Otherwise the first task to enroll will trigger the start static void make_startable(); - - void set_crash_protection(os::WatcherThreadCrashProtection* crash_protection) { - assert(Thread::current()->is_Watcher_thread(), "Can only be set by WatcherThread"); - _crash_protection = crash_protection; - } - - bool has_crash_protection() const { return _crash_protection != NULL; } - os::WatcherThreadCrashProtection* crash_protection() const { return _crash_protection; } - private: int sleep() const; };