mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8183925: Decouple crash protection from watcher thread
Reviewed-by: dcubed, coleenp
This commit is contained in:
parent
41e729b386
commit
cc9648a8b8
16 changed files with 78 additions and 74 deletions
|
@ -1200,7 +1200,7 @@ WatcherThread* WatcherThread::_watcher_thread = NULL;
|
|||
bool WatcherThread::_startable = false;
|
||||
volatile bool WatcherThread::_should_terminate = false;
|
||||
|
||||
WatcherThread::WatcherThread() : Thread(), _crash_protection(NULL) {
|
||||
WatcherThread::WatcherThread() : Thread() {
|
||||
assert(watcher_thread() == NULL, "we can only allocate one WatcherThread");
|
||||
if (os::create_thread(this, os::watcher_thread)) {
|
||||
_watcher_thread = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue