equal
deleted
inserted
replaced
142 Mutex::_no_safepoint_check_flag); |
142 Mutex::_no_safepoint_check_flag); |
143 assert(_cmst == this, "Weird!"); |
143 assert(_cmst == this, "Weird!"); |
144 _cmst = NULL; |
144 _cmst = NULL; |
145 Terminator_lock->notify(); |
145 Terminator_lock->notify(); |
146 } |
146 } |
147 |
|
148 // Thread destructor usually does this.. |
|
149 ThreadLocalStorage::set_thread(NULL); |
|
150 } |
147 } |
151 |
148 |
152 #ifndef PRODUCT |
149 #ifndef PRODUCT |
153 void ConcurrentMarkSweepThread::verify_ok_to_terminate() const { |
150 void ConcurrentMarkSweepThread::verify_ok_to_terminate() const { |
154 assert(!(CGC_lock->owned_by_self() || cms_thread_has_cms_token() || |
151 assert(!(CGC_lock->owned_by_self() || cms_thread_has_cms_token() || |