Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/thread_registry.h" | 5 #include "vm/thread_registry.h" |
| 6 | 6 |
| 7 #include "vm/compiler.h" | |
|
Florian Schneider
2015/10/02 11:10:32
There is no other change in this file. Accidentall
srdjan
2015/10/02 15:24:13
Done.
koda
2015/10/02 16:53:46
Remove.
srdjan
2015/10/02 18:19:20
Done.
| |
| 7 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 8 #include "vm/lockers.h" | 9 #include "vm/lockers.h" |
| 9 | 10 |
| 10 namespace dart { | 11 namespace dart { |
| 11 | 12 |
| 12 ThreadRegistry::~ThreadRegistry() { | 13 ThreadRegistry::~ThreadRegistry() { |
| 13 ReclaimTimelineBlocks(); | 14 ReclaimTimelineBlocks(); |
| 14 // Delete monitor. | 15 // Delete monitor. |
| 15 delete monitor_; | 16 delete monitor_; |
| 16 } | 17 } |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 193 for (int i = 0; i < entries_.length(); ++i) { | 194 for (int i = 0; i < entries_.length(); ++i) { |
| 194 const Entry& entry = entries_[i]; | 195 const Entry& entry = entries_[i]; |
| 195 if (entry.scheduled) { | 196 if (entry.scheduled) { |
| 196 ++count; | 197 ++count; |
| 197 } | 198 } |
| 198 } | 199 } |
| 199 return count; | 200 return count; |
| 200 } | 201 } |
| 201 | 202 |
| 202 } // namespace dart | 203 } // namespace dart |
| OLD | NEW |