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

Unified Diff: runtime/observatory/lib/src/app/page.dart

Issue 2996803002: Add current rss and embedder name to Observatory (Closed)
Patch Set: Rebase and Merge Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/app/page.dart
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart
index 8500d32e877bb828863aa2865cbaad3bead4aab1..eb35b84097959bbf58c1fe2c1b9dc7a17a40fa60 100644
--- a/runtime/observatory/lib/src/app/page.dart
+++ b/runtime/observatory/lib/src/app/page.dart
@@ -35,6 +35,7 @@ final _subtypeTestCacheRepository = new SubtypeTestCacheRepository();
final _topRetainingInstancesRepository = new TopRetainingInstancesRepository();
final _typeArgumentsRepository = new TypeArgumentsRepository();
final _unlinkedCallRepository = new UnlinkedCallRepository();
+final _vmrepository = new VMRepository();
class IsolateNotFound implements Exception {
String isolateId;
@@ -170,7 +171,7 @@ class VMPage extends MatchingPage {
}
app.vm.reload().then((VM vm) {
container.children = [
- new VMViewElement(vm, app.events, app.notifications,
+ new VMViewElement(vm, _vmrepository, app.events, app.notifications,
new IsolateRepository(app.vm), _scriptRepository,
queue: app.queue)
];
@@ -708,8 +709,8 @@ class MemoryDashboardPage extends MatchingPage {
// Preload all isolates to avoid sorting problems.
await Future.wait(vm.isolates.map((i) => i.load()));
container.children = [
- new MemoryDashboardElement(vm, new IsolateRepository(vm), editor,
- _allocationProfileRepository, app.events, app.notifications,
+ new MemoryDashboardElement(vm, _vmrepository, new IsolateRepository(vm),
+ editor, _allocationProfileRepository, app.events, app.notifications,
queue: app.queue)
];
}).catchError((e, stack) {
« no previous file with comments | « runtime/observatory/lib/repositories.dart ('k') | runtime/observatory/lib/src/elements/memory/dashboard.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698