Open Bug 1320717 Opened 7 years ago Updated 2 years ago

Add a way to get Worker GC/CC logs while Firefox is running

Categories

(Core :: DOM: Workers, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mccr8, Unassigned)

Details

bkelly has a chrome worker that is using a lot of memory, and would like to use a GC (and maybe CC log) to debug the leak. However, nsMemoryInfoDumper::DumpGCAndCCLogsToFile(), the method that about:memory uses to create these logs, looks like it only does something for the main thread. It would be nice to be able to collect these for workers, too, even if it required manually running some chrome JS. I don't really know how we communicate requests to workers. Maybe there's some kind of memory pressure mechanism that could optionally also request a log?
Summary: Add a way to get GC/CC logs while Firefox is running → Add a way to get Worker GC/CC logs while Firefox is running
Priority: -- → P3
Type: defect → enhancement
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.