Closed
Bug 1128083
Opened 10 years ago
Closed 10 years ago
[marker] Cycle collection should be shown in the timeline
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fitzgen, Unassigned)
References
Details
Memory management in Firefox comes in two forms: garbage collection (GC), and cycle collection (CC).
To make things more fun, CC will often trigger a GC!
Right now the timeline only shows GC, but it should also show CC -- we are missing half of the picture.
Comment 1•10 years ago
|
||
Moving into the Profiler component. Filter on GUTHRIE'S WAVY CAKES.
Component: Developer Tools: Timeline → Developer Tools: Profiler
Comment 2•10 years ago
|
||
Related bug for GC, bug 1136945, and via panos' memory tool https://github.com/past/memory-profiler/blob/master/chrome/tool.js#L201
Comment 3•10 years ago
|
||
Is any platform work needed for this? Or does exposing GC info via bug 1137527 solve the platform work as well?
Comment 4•10 years ago
|
||
Main thread CC statistics are exposed using "cycle-collection-statistics" observer service notification.
http://mxr.mozilla.org/mozilla-central/source/dom/base/nsJSEnvironment.cpp?rev=0b0c492a33b5#1726
| Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #4)
> Main thread CC statistics are exposed using "cycle-collection-statistics"
> observer service notification.
>
> http://mxr.mozilla.org/mozilla-central/source/dom/base/nsJSEnvironment.
> cpp?rev=0b0c492a33b5#1726
We aren't using that observer directly because its a huge pain to synchronize prefs being used across multiple debugger servers and multiple actors within those debugger servers, and we can't control it on a per debuggee global basis.
Updated•10 years ago
|
Blocks: perf-tool-v2
Updated•10 years ago
|
No longer blocks: perf-tool-v2
Updated•10 years ago
|
Summary: Cycle collection should be shown in the timeline → [marker] Cycle collection should be shown in the timeline
| Reporter | ||
Comment 6•10 years ago
|
||
Fixed in bug 1141614.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•