Closed
Bug 934752
Opened 11 years ago
Closed 10 years ago
Don't CollectWhite JS in the cycle collector
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
DUPLICATE
of bug 1087799
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
1.73 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
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.
Assignee | ||
Comment 2•11 years ago
|
||
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
Assignee | ||
Updated•10 years ago
|
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.
Description
•