equal
deleted
inserted
replaced
4447 Events::log(p, "Thread added: " INTPTR_FORMAT, p2i(p)); |
4447 Events::log(p, "Thread added: " INTPTR_FORMAT, p2i(p)); |
4448 } |
4448 } |
4449 |
4449 |
4450 void Threads::remove(JavaThread* p) { |
4450 void Threads::remove(JavaThread* p) { |
4451 |
4451 |
4452 // Reclaim the objectmonitors from the omInUseList and omFreeList of the moribund thread. |
4452 // Reclaim the ObjectMonitors from the omInUseList and omFreeList of the moribund thread. |
4453 ObjectSynchronizer::omFlush(p); |
4453 ObjectSynchronizer::omFlush(p); |
4454 |
4454 |
4455 // Extra scope needed for Thread_lock, so we can check |
4455 // Extra scope needed for Thread_lock, so we can check |
4456 // that we do not remove thread without safepoint code notice |
4456 // that we do not remove thread without safepoint code notice |
4457 { MutexLocker ml(Threads_lock); |
4457 { MutexLocker ml(Threads_lock); |