Closed Bug 934752 Opened 11 years ago Closed 10 years ago

Don't CollectWhite JS in the cycle collector

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1087799

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

      No description provided.
JS objects don't do anything in their Root, Unlink, or Unroot callbacks, and we are already detecting them by looking at their refcounts, so we should just skip them entirely.  I should also assert that they are using either the JS or JSCompartment participant.  It would also be nice to figure this out earlier in the process, so we don't need to allocate quite so large of a white nodes buffer.
This probably isn't a big deal until I make CollectWhite incremental, which will requiring the set of white nodes on the heap rather than the stack.
Blocks: 926533
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: