Commit Graph
22 Commits
Author SHA1 Message Date
Julian Descottes 44e7390ced Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Wes Kocher deead778cb Backed out changeset c457397a08bb (bug 1215955) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout 2016-01-15 10:43:01 -08:00
Julian Descottes ff9154b3ad Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Nick Fitzgerald 07140c5952 Bug 1229229 - Display dominator trees in the memory tool's UI; r=jsantell
This patch overhauls the memory tool's frontend from being in a state of viewing
a snapshot's census (the implicit default) or viewing a census diff (a special
cased kind of thing) to one of three recognized view states: (1) census, (2)
diffing, or (3) dominator tree. The logic surrounding our current view is more
explicit now. View option (3) is the new one, whose introduction required those
clean ups.

Dominator trees are too large to render in full, all at once. Instead, we
eagerly load and render a few levels deep and then incrementally fetch further
subtrees as their parents are expanded in the UI. This means that we get new
Tree component instances across incremental fetches. Before this commit, the
Tree component stored a bunch of state internally (in this.state rather than
this.props) and we would lose focus and expansion state across incremental
fetches. This internal state has been pulled out and made as explicit props,
which are now managed by actions and reducers just like the rest of the state.
2016-01-13 12:27:30 -08:00
Nick Fitzgerald 6e8a59c912 Bug 960780 - Add support for diffing heap snapshots to the memory tool frontend; r=jsantell,ntim 2015-11-13 11:20:45 -08:00
Nick Fitzgerald 793a519f59 Bug 1160379 - Annotate relevant tests for --tag devtools-memory. r=jsantell 2015-11-05 10:53:00 +01:00
Nick Fitzgerald 6de0017e21 Bug 1221150 - Follow up: disable the browser_memory_no_auto_expand.js test on DEBUG builds; r=me CLOSED TREE 2015-11-04 19:09:29 -08:00
Nick Fitzgerald 7825093ee8 Bug 1221150 - Disable automatic expanding of memory tool's tree items; r=jsantell 2015-11-04 17:51:41 -08:00
Nick Fitzgerald 1d36133f90 Bug 1221673 - Add support for filtering censuses to memory tool's frontend; r=jsantell,vporof 2015-11-04 16:12:31 -08:00
Nick Fitzgerald df49d1fe20 Bug 1218670 - Add % to heap view tree items; r=jsantell 2015-10-29 17:21:06 -07:00
Nick Fitzgerald 4cf9fcfae1 Bug 1219421 - Guide users to recording allocations when no allocation stacks are present; r=jsantell 2015-10-29 01:32:08 -07:00
Nick Fitzgerald 53f5f3ff42 Bug 1218560 - Part 2: Add an integration test for allocation stack breakdowns; r=jsantell 2015-10-28 22:46:25 -07:00
Jordan Santell fb6ac75f16 Bug 1218679 - Add integration/smoke-screen tests for memory tool. r=fitzgen 2015-10-28 22:46:25 -07:00
Carsten "Tomcat" Book d0b1d0fdb5 Backed out changeset 5f17f4325f31 (bug 1218679) for memory leaks on a CLOSED TREE 2015-10-28 13:09:57 +01:00
Carsten "Tomcat" Book 9f98f967d8 Backed out changeset 2e2f56672850 (bug 1218560) 2015-10-28 13:09:38 +01:00
Nick Fitzgerald 6ad9719d8d Bug 1218560 - Part 2: Add an integration test for allocation stack breakdowns; r=jsantell 2015-10-28 02:11:06 -07:00
Jordan Santell 6e7f53a358 Bug 1218679 - Add integration/smoke-screen tests for memory tool. r=fitzgen 2015-10-28 02:11:06 -07:00
Phil Ringnalda ee52d81943 Back out 2 changesets (bug 1217500, bug 1218560) for devtools leaks
Backed out changeset 15acea2927e2 (bug 1218560)
Backed out changeset e3b623fd16bf (bug 1217500)
2015-10-26 18:28:24 -07:00
Nick Fitzgerald b54f5700d8 Bug 1218560 - Fix heap tree view item rendering when using an allocation stack breakdown; r=jsantell 2015-10-26 14:58:03 -07:00
Nick Fitzgerald 5b9dd76f87 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-25 15:35:02 -07:00
Carsten "Tomcat" Book c2da61610f Backed out 1 changesets (bug 1207645) for Mulet Gaia JS Integration Test Gij 21 and 4 perma test failures
Backed out changeset a23053342d5b (bug 1207645)
2015-09-25 16:54:34 +02:00
Nick Fitzgerald 1607d9bba1 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-24 17:19:03 -07:00