< prev index next >
src/share/vm/runtime/thread.hpp
Print this page
rev 13203 : [mq]: 8183925
*** 737,748 ****
static WatcherThread* _watcher_thread;
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
};
--- 737,746 ----
*** 769,787 ****
static void start();
static void stop();
// 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;
};
--- 767,776 ----
< prev index next >