Closed Bug 950205 Opened 11 years ago Closed 8 years ago

Mark services implemented in JS black

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

I noticed a few things in the cycle collector graph that look like services (like the kind that you'd get with getService) implemented in JS.  We should be able to remove these from the CC graph by digging through the list of services, and calling unmark gray on any implemented by XPCWJS, assuming they are strongly held.  This will be similar to bug 737075.

These are the ones I see:
  nsIUpdateManager (80 objects)
  nsIURLFormatter (26 objects)
  nsILoginManagerCrypto (15 objects)

There are something like 600 objects in the idle graph, so it is a not-entirely-insignificant percentage of the graph.
Well, in my local testing with a debug session with no tabs open, only nsIURLFormatter was showing up (and it was only about 10 objects), but that at least shows things are getting removed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: