bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.
There is a global DumpCompleteHeap function that seems unused: http://mxr.mozilla.org/mozilla-central/source/js/xpconnect/src/nsXPConnect.cpp#2743 Should we remove it or was it intentionally added (perhaps to be called from a debugger?) Also, could you please explain what it does? The name suggests that it would dump the JS heap, but seeing that it only calls the cycle collector, it's not clear to me how it would achieve that? Note: this was added in bug 781700, by khuey, r=bent.
The cycle collector dumps the JS heap when given a non-null listener. The comment a few functions up says: "These are here to be callable from a debugger"
Ah OK. Thanks!
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.