Closed Bug 860921 Opened 11 years ago Closed 7 years ago

[shutdown] Can we disable js::NukeCrossCompartmentWrappers on shutdown?

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: vladan, Unassigned)

References

(Blocks 1 open bug)

Details

The "Add-on Compatibility Reporter" extension calls nsXPComponents_Utils::NukeSandbox on shutdown, which in turn calls js::NukeCrossCompartmentWrappers. This call adds 2 seconds to my shutdown time: 

http://people.mozilla.com/~bgirard/cleopatra/#report=f55c05d3cdb31724e5ad43f0588f939b134eb6e0

1) Is the NukeCrossCompartmentWrappers cleaning up *all* the wrappers in the system, or only those related to the sandbox being destroyed?
2) Could we make NukeCrossCompartmentWrappers a no-op after shutdown starts?
This is a lot faster now, so hopefully it isn't an issue any more.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.