Open Bug 985040 Opened 11 years ago Updated 3 years ago

Purge weak/dead things in the child-process-manager on memory pressure

Categories

(Core :: IPC, defect)

24 Branch
defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

Details

(Whiteboard: [MemShrink:P3])

In bug 981871, bkelly noticed this in the about:memory log: 2,321 (100.0%) -- message-manager └──2,321 (100.0%) -- referent ├──2,175 (93.71%) -- child-process-manager │ ├──1,440 (62.04%) ── weak/dead │ └────735 (31.67%) ── strong └────146 (06.29%) ── global-manager/weak/dead That seems not ideal, so maybe we could do something hacky like purge the list on memory pressure? I don't know exactly how that works. (Also I don't know what the right component for the MM is.)
No longer depends on: 985038
I think (and hope) that this will only result in a big array of weak pointers not pointing to anything. If they are keeping anything alive, this is a bigger problem.
Whiteboard: [MemShrink] → [MemShrink:P3]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.