Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Side by Side Diff: runtime/vm/thread_registry.cc

Issue 1386503002: Initial design for background compilation (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/isolate.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « runtime/vm/isolate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698