equal
deleted
inserted
replaced
1504 |
1504 |
1505 // Signal that it is terminated |
1505 // Signal that it is terminated |
1506 { |
1506 { |
1507 MutexLockerEx mu(Terminator_lock, Mutex::_no_safepoint_check_flag); |
1507 MutexLockerEx mu(Terminator_lock, Mutex::_no_safepoint_check_flag); |
1508 _watcher_thread = NULL; |
1508 _watcher_thread = NULL; |
1509 Terminator_lock->notify(); |
1509 Terminator_lock->notify_all(); |
1510 } |
1510 } |
1511 } |
1511 } |
1512 |
1512 |
1513 void WatcherThread::start() { |
1513 void WatcherThread::start() { |
1514 assert(PeriodicTask_lock->owned_by_self(), "PeriodicTask_lock required"); |
1514 assert(PeriodicTask_lock->owned_by_self(), "PeriodicTask_lock required"); |