I can't imagine anybody has used this in years.
Maybe dbaron, or someone he knows?
Well, it looks like bz was using this feature back in 2007 (bug 378255). Nowadays, DumpHeapComplete is a better way to deal with this, and you can dump the heap with the shutdown CC. But I could see a use case for just getting a single JS heap log somewhere. Boris, do you use XPC_SHUTDOWN_HEAP_DUMP any more? I can change the implementation of it if anybody would find it useful.
Created attachment 8369497 [details] [diff] [review] Remove DumpHeap call in ReleaseXPConnectSingleton. In IRC, bz said he didn't think offhand that he used this environment variable any more. If anybody wants some other way of loggin the heap at shutdown, let me know. https://tbpl.mozilla.org/?tree=Try&rev=c1238ed7dd0a
Attachment #8369497 - Flags: review?(bobbyholley)
Attachment #8369497 - Flags: review?(bobbyholley) → review+
Sorry, backed 'em all out in https://hg.mozilla.org/integration/mozilla-inbound/rev/930f794bfba3 for the https://tbpl.mozilla.org/php/getParsedLog.php?id=34108227&tree=Mozilla-Inbound bustage on the followup.
Sorry again, you'll find that failure incomprehensible from any of your patches because it was from bustage that landed on your bustage busted on the same builds.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.