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

Issue 973553005: Fix memory leak in CPU Profile page (Closed)

Created:
5 years, 9 months ago by Cutch
Modified:
5 years, 9 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, turnidge, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Fix memory leak in CPU Profile page - Programmatically clear all onClick listeners. - Use an iterative call tree loader. - Load call trees on demand. - When a sample was filled before exhausting the call stack, mark that the sample's call stack is truncated. - Insert '[Truncated]' tag nodes into call trees. R=rmacnak@google.com Committed: https://code.google.com/p/dart/source/detail?r=44190

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -145 lines) Patch
M runtime/observatory/lib/cpu_profile.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/app/view_model.dart View 5 chunks +15 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/cpu_profile/cpu_profile.dart View 7 chunks +152 lines, -80 lines 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile.dart View 1 6 chunks +26 lines, -18 lines 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/profiler.h View 3 chunks +11 lines, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 7 chunks +17 lines, -5 lines 0 comments Download
M runtime/vm/profiler_service.cc View 18 chunks +142 lines, -37 lines 0 comments Download
M runtime/vm/tags.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/tags.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
Cutch
5 years, 9 months ago (2015-03-03 18:32:28 UTC) #2
rmacnak
lgtm
5 years, 9 months ago (2015-03-03 18:56:08 UTC) #3
Cutch
5 years, 9 months ago (2015-03-03 19:00:37 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:2) manually as 44190 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698