Index: runtime/vm/thread_registry.cc |
diff --git a/runtime/vm/thread_registry.cc b/runtime/vm/thread_registry.cc |
index 50856427bb1e023ec6dbe79670f5918d37924d56..c3888403c59f2e9a6475b64af3fb7d643051f671 100644 |
--- a/runtime/vm/thread_registry.cc |
+++ b/runtime/vm/thread_registry.cc |
@@ -31,7 +31,6 @@ ThreadRegistry::~ThreadRegistry() { |
delete threads_lock_; |
} |
- |
// Gets a free Thread structure, we special case the mutator thread |
// by reusing the cached structure, see comment in 'thread_registry.h'. |
Thread* ThreadRegistry::GetFreeThreadLocked(Isolate* isolate, bool is_mutator) { |
@@ -51,7 +50,6 @@ Thread* ThreadRegistry::GetFreeThreadLocked(Isolate* isolate, bool is_mutator) { |
return thread; |
} |
- |
void ThreadRegistry::ReturnThreadLocked(bool is_mutator, Thread* thread) { |
ASSERT(threads_lock()->IsOwnedByCurrentThread()); |
// Remove thread from the active list for the isolate. |
@@ -61,7 +59,6 @@ void ThreadRegistry::ReturnThreadLocked(bool is_mutator, Thread* thread) { |
} |
} |
- |
void ThreadRegistry::VisitObjectPointers(ObjectPointerVisitor* visitor, |
bool validate_frames) { |
MonitorLocker ml(threads_lock()); |
@@ -81,7 +78,6 @@ void ThreadRegistry::VisitObjectPointers(ObjectPointerVisitor* visitor, |
} |
} |
- |
void ThreadRegistry::PrepareForGC() { |
MonitorLocker ml(threads_lock()); |
Thread* thread = active_list_; |
@@ -91,7 +87,6 @@ void ThreadRegistry::PrepareForGC() { |
} |
} |
- |
#ifndef PRODUCT |
void ThreadRegistry::PrintJSON(JSONStream* stream) const { |
MonitorLocker ml(threads_lock()); |
@@ -104,7 +99,6 @@ void ThreadRegistry::PrintJSON(JSONStream* stream) const { |
} |
#endif |
- |
intptr_t ThreadRegistry::CountZoneHandles() const { |
MonitorLocker ml(threads_lock()); |
intptr_t count = 0; |
@@ -116,7 +110,6 @@ intptr_t ThreadRegistry::CountZoneHandles() const { |
return count; |
} |
- |
intptr_t ThreadRegistry::CountScopedHandles() const { |
MonitorLocker ml(threads_lock()); |
intptr_t count = 0; |
@@ -128,7 +121,6 @@ intptr_t ThreadRegistry::CountScopedHandles() const { |
return count; |
} |
- |
void ThreadRegistry::AddToActiveListLocked(Thread* thread) { |
ASSERT(thread != NULL); |
ASSERT(threads_lock()->IsOwnedByCurrentThread()); |
@@ -136,7 +128,6 @@ void ThreadRegistry::AddToActiveListLocked(Thread* thread) { |
active_list_ = thread; |
} |
- |
void ThreadRegistry::RemoveFromActiveListLocked(Thread* thread) { |
ASSERT(thread != NULL); |
ASSERT(threads_lock()->IsOwnedByCurrentThread()); |
@@ -156,7 +147,6 @@ void ThreadRegistry::RemoveFromActiveListLocked(Thread* thread) { |
} |
} |
- |
Thread* ThreadRegistry::GetFromFreelistLocked(Isolate* isolate) { |
ASSERT(threads_lock()->IsOwnedByCurrentThread()); |
Thread* thread = NULL; |
@@ -170,7 +160,6 @@ Thread* ThreadRegistry::GetFromFreelistLocked(Isolate* isolate) { |
return thread; |
} |
- |
void ThreadRegistry::ReturnToFreelistLocked(Thread* thread) { |
ASSERT(thread != NULL); |
ASSERT(thread->os_thread_ == NULL); |