| Index: runtime/vm/thread_registry.cc
|
| diff --git a/runtime/vm/thread_registry.cc b/runtime/vm/thread_registry.cc
|
| index 828d53f7b945f4fc056ad8f088f579d61537cc2e..32d48a4c0b553f2103e710b0d55925d8fddc6094 100644
|
| --- a/runtime/vm/thread_registry.cc
|
| +++ b/runtime/vm/thread_registry.cc
|
| @@ -195,16 +195,4 @@ void ThreadRegistry::ReturnToFreelistLocked(Thread* thread) {
|
| free_list_ = thread;
|
| }
|
|
|
| -
|
| -uintptr_t ThreadRegistry::ThreadHighWatermarksTotalLocked() const {
|
| - ASSERT(threads_lock()->IsOwnedByCurrentThread());
|
| - uintptr_t memory_high_watermarks_total = 0;
|
| - Thread* current = active_list_;
|
| - while (current != NULL) {
|
| - memory_high_watermarks_total += current->memory_high_watermark();
|
| - current = current->next_;
|
| - }
|
| - return memory_high_watermarks_total;
|
| -}
|
| -
|
| } // namespace dart
|
|
|