Replace sweeping with tracing weak edges in WeakCache implementation
Categories
(Core :: JavaScript: GC, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D128856
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D128857
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D128858
Assignee | ||
Comment 5•3 years ago
|
||
Making this change meant fixing WeakCached things that supplied their own sweep
method at the same time because the custom sweep method would no longer be
called. This dragged in a bunch of other changes but it's all along the same
lines as the previous patches.
Depends on D128859
Assignee | ||
Comment 6•3 years ago
|
||
It's slightly annoying that we now have to store a tracer rather than just a
bool, but it's necessary because these container methods don't have any context
we can get it from.
Depends on D128860
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9d528f1cf137
https://hg.mozilla.org/mozilla-central/rev/446442e02d07
https://hg.mozilla.org/mozilla-central/rev/a995c4e762d7
https://hg.mozilla.org/mozilla-central/rev/e753336f6a84
https://hg.mozilla.org/mozilla-central/rev/aca331d41a22
https://hg.mozilla.org/mozilla-central/rev/30cf1a138099
Description
•