GC: Invent a better traversal API for the cycle collector and JS_DumpHeap
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: billm, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Snappy:P2])
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Updated•13 years ago
|
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Comment 6•3 years ago
|
||
Andrew, is this bug still relevant?
I know we have JS_TraceShapeCycleCollectorChildren to skip tracing stuff the cycle collector doesn't care about, but is there more we can do here?
Comment 7•3 years ago
|
||
Olli's CC work did help reduce the pauses by quite a lot, but traversing JS is still a large amount of time when we're cleaning up a page after it is closed.
I have implemented some of the CC work I suggested in comment 2, by getting rid of the language generalization that was never used. The traversing code for JS stuff is now specialized, but we don't take much advantage of it. I have written code a few times to split the CC graph up into JS and non-JS, but I never landed it because it didn't provide any particular benefit.
It would be nice if we sped JS traversal somehow, but this bug is quite old and vague so I think it is okay to close it.
Description
•