Closed Bug 630755 Opened 14 years ago Closed 14 years ago

Add support to about:memory for getting data from the child process

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(fennec-)

RESOLVED DUPLICATE of bug 633305
Tracking Status
fennec - ---

People

(Reporter: mfinkle, Assigned: dougt)

Details

We should add a section to the about:memory that lists the data from the child process
This is going to be interesting. about:memory uses nsIMemoryReporter, which just has a couple accessors that return values on demand. Since the numbers come from the content process, we can't just synchronously ask for them. Therefore, we either: * update the parent reporters at regular intervals, when we won't actually care about them 99% of the time * introduce a "priming" phase into the memory reporter manager, such that nsMemoryReporterManager::EnumerateReporters actually traverses the array and pokes each reporter in case it needs to get ready. Then we race to see if we can get a value from content just in time to show it! Any other ideas are welcome, too.
Assignee: nobody → doug.turner
tracking-fennec: ? → 2.0-
The other bug has a patch, so duping forward.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.