Closed Bug 901597 Opened 7 years ago Closed 6 years ago
Add a way to control whether main thread and workers produce CC logs
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.
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
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+
Addressed review comments.
I updated the documentation to mention this: https://wiki.mozilla.org/Performance:Leak_Tools#Cycle_collector_heap_dump
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
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.