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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

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
Attachment #8377663 - Flags: review?(bugs) → review+
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: nobody → continuation
Addressed review comments.
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.

Attachment

General

Created:
Updated:
Size: