Closed Bug 952872 Opened 11 years ago Closed 8 years ago

Make XPCWrappedNative a skippable class

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

In my regular CC browsing log, I see about 1500 XPCWNs without any children, which is almost half of the normal graph. It shouldn't be that hard to remove these from the graph.
Though maybe you aren't really saving any time (here and in XPCWJS) because you have to do a virtual method call to save a virtual method call. Maybe rather than being a CanSkip class, XPCWN and XPCWJS should do a non-virtual call to check if they can be skipped when adding them as roots. Which is what XPCWJS did before.
XPCWN CCing is kind of a mess so there are probably better ways to spend time.
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: