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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/object_graph.dart

Issue 839543002: Revert "Build Observatory with runtime" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library object_graph; 5 library object_graph;
6 6
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 8
9 import 'dominator_tree.dart'; 9 import 'dominator_tree.dart';
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 var v = leaves.removeLast(); 111 var v = leaves.removeLast();
112 var u = d.dominator(v); 112 var u = d.dominator(v);
113 if (u == null) continue; 113 if (u == null) continue;
114 u._retainedSize += v._retainedSize; 114 u._retainedSize += v._retainedSize;
115 if (--degree[u] == 0) { 115 if (--degree[u] == 0) {
116 leaves.add(u); 116 leaves.add(u);
117 } 117 }
118 } 118 }
119 } 119 }
120 } 120 }
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/observatory/lib/elements.html ('k') | runtime/bin/vmservice/observatory/lib/service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698