Open Bug 1649638 Opened 6 years ago Updated 1 year ago

Allow adding a pid to MOZ_GCTIMER and JS_GC_DEBUG filenames

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: sfink, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I was trying to look at some MOZ_GCTIMER logs for someone on #spidermonkey and found it difficult to tell what was coming from his web game vs some other firefox process. This patch replaces the first occurrence of "{pid}" in the filename with the PID.

I should find somewhere to document this, I guess.

Good idea. I expect the output will still be slightly confusing due to having multiple runtimes in a process. I've ended up with local patches to put the JSRuntime pointer into log output. That's not very user-friendly though.

Blocks: GC.easeofuse
Severity: S4 → N/A
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: