Create an abstraction for nested iteration
Categories
(Core :: JavaScript: GC, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(6 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
There are several places where we write an iterator class that combines two other iterators such that it yields all x from iterator X(y) for all y from iterator Y. I've heard this called nested iteration but I don't know if there's a better name.
We should factor out the logic for this to save reimplementing it everywhere.
Assignee | ||
Comment 1•4 years ago
|
||
It's useful in later patches to have zone iterators whose constructors take a single parameter.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D80482
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D80483
Assignee | ||
Comment 4•4 years ago
|
||
There's only one place this is called with SkipAtoms and it's fine to include the atoms zone there.
Depends on D80484
Assignee | ||
Comment 5•4 years ago
|
||
This also means we can simplify ArenaCellIter is it doesn't need to support reset() any more. I had to rename the getCell/get methods returning TenuredCell*/T* to get/as to make this work.
I also changed use of |ArenaCellIter i| to |ArenaCellIter cell|, like we do for ZonesIter.
Depends on D80485
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D80486
Comment 8•4 years ago
•
|
||
Backed out 6 changesets (bug 1647319) for build bustage at gecko/js/src/gc/GC-inl.h
Backout: https://hg.mozilla.org/integration/autoland/rev/17e8b5e9f8f90c12561f8552d779567895301e0e
Failure push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=cf488a06921ec04de214013170daf0aca6a83ff6
Failure logs:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307216889&repo=autoland&lineNumber=7200
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307216905&repo=autoland&lineNumber=2082
Comment 10•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4a59ad84db1b
https://hg.mozilla.org/mozilla-central/rev/8624539378e1
https://hg.mozilla.org/mozilla-central/rev/791dfca7e74d
https://hg.mozilla.org/mozilla-central/rev/fe6e1d55aa8f
https://hg.mozilla.org/mozilla-central/rev/17c17458be2e
https://hg.mozilla.org/mozilla-central/rev/9ba80352f5c3
Assignee | ||
Updated•4 years ago
|
Description
•