Closed
Bug 901597
Opened 12 years ago
Closed 11 years ago
Add a way to control whether main thread and workers produce CC logs
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
2.10 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
2.47 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Including all-traces options as needed. There's some existing B2G infrastructure for dealing with logging and multiple processes, so maybe something related would work.
Assignee | ||
Comment 1•11 years ago
|
||
Workers can just use the same environment var stuff as the main thread, so this is fairly easy.
Component: DOM: Workers → XPCOM
Summary: Add a way to trigger cycle collector logging in workers → Add a way to control whether main thread and workers produce CC logs
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8377663 -
Flags: review?(bugs)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8377664 -
Flags: review?(bugs)
Updated•11 years ago
|
Attachment #8377663 -
Flags: review?(bugs) → review+
Comment 4•11 years ago
|
||
Comment on attachment 8377664 [details] [diff] [review]
part 2 - Add environment var to CC log only main or worker threads.
Could you fix the documentation for MOZ_CC_LOG_THREAD to say that if it is not set, "all" is used as default.
const char *logThreadEnv
* should go with the type.
Attachment #8377664 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → continuation
Assignee | ||
Comment 6•11 years ago
|
||
Addressed review comments.
Assignee | ||
Comment 7•11 years ago
|
||
I updated the documentation to mention this:
https://wiki.mozilla.org/Performance:Leak_Tools#Cycle_collector_heap_dump
Keywords: dev-doc-complete
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
It was another patch that was causing the leaks.
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/9c987f52f70f
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/08b5793ca20e
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9c987f52f70f
https://hg.mozilla.org/mozilla-central/rev/08b5793ca20e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•