Created attachment 827099 [details] [diff] [review] Don't collect white JS objects, WIP 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.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1087799
You need to log in before you can comment on or make changes to this bug.