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

Side by Side Diff: runtime/observatory/lib/src/models/objects/thread.dart

Issue 2574643003: Added ability to request zone memory information for all isolates through the VM service and added … (Closed)
Patch Set: Converted to using strong types, removed unused code and whitespace. Created 4 years 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
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 part of models;
6
7 enum ThreadKind {
8 kUnknownTask,
Cutch 2016/12/19 14:46:09 https://www.dartlang.org/guides/language/effective
bkonyi 2016/12/19 16:40:20 Done.
9 kMutatorTask,
10 kCompilerTask,
11 kSweeperTask,
12 kMarkerTask,
13 kFinalizerTask
14 }
15
16 abstract class Thread {
17 /// The id associated with the thread on creation
18 String get id;
19
20 /// The task type associated with the thread,
21 ThreadKind get kind;
22
23 /// A list of all the zones held by the thread.
24 Iterable<Zone> get zones;
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698