Closed
Bug 1109928
Opened 10 years ago
Closed 10 years ago
Clean up CCGraphBuilder
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
6.14 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
3.42 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
2.31 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
2.87 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
2.23 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
1.68 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
There are a few clean ups that can be done here. The most important is moving all of the graph building logic into a method here, which let's us hide a lot of the internal state of the CCGraphBuilder. There are also a few methods that can be made private or inlined because they don't do much any more.
Assignee | ||
Comment 1•10 years ago
|
||
Encapsulating CCGraphBuilder will make it easier to change how things are done, like bug 1109816 which may add a second NodePool.
Assignee | ||
Comment 2•10 years ago
|
||
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=f889e7dd8689
Assignee | ||
Comment 3•10 years ago
|
||
This lets us hide a lot of the internal state of graph building from other classes.
Attachment #8535010 -
Flags: review?(bugs)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8535012 -
Flags: review?(bugs)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8535013 -
Flags: review?(bugs)
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8535014 -
Flags: review?(bugs)
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8535015 -
Flags: review?(bugs)
Assignee | ||
Comment 8•10 years ago
|
||
I think this isn't going to be needed for bug 1109816, because the approach that would rely on that is too complex.
No longer blocks: 1109816
Assignee | ||
Comment 9•10 years ago
|
||
These patches are pretty simple, but there's no hurry to get them into the tree either.
Updated•10 years ago
|
Attachment #8535013 -
Flags: review?(bugs) → review+
Updated•10 years ago
|
Attachment #8535015 -
Flags: review?(bugs) → review+
Updated•10 years ago
|
Attachment #8535014 -
Flags: review?(bugs) → review+
Comment 10•10 years ago
|
||
Comment on attachment 8535012 [details] [diff] [review] part 2 - Inline some CCGraphBuilder methods now that the builder is doing the building. Don't inline SetLastChild. It is a bit odd method. But feel free to move its definition to declaration.
Attachment #8535012 -
Flags: review?(bugs) → review+
Updated•10 years ago
|
Attachment #8535010 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #10) > Don't inline SetLastChild. It is a bit odd method. > But feel free to move its definition to declaration. That's a good point. I wasn't entirely sure that was a good idea. I think I'll also define a SetFirstChild().
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8535057 -
Flags: review?(bugs)
Updated•10 years ago
|
Attachment #8535057 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 13•10 years ago
|
||
The typed GC API stuff has settled out a bit so I can go ahead and land this. remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/5a5a932d817b remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/70e929ee0ec6 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/452cc6e826f3 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/b30467b66cbb remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/9997dbfbc68a remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/3f56c00d214f
Comment 14•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5a5a932d817b https://hg.mozilla.org/mozilla-central/rev/70e929ee0ec6 https://hg.mozilla.org/mozilla-central/rev/452cc6e826f3 https://hg.mozilla.org/mozilla-central/rev/b30467b66cbb https://hg.mozilla.org/mozilla-central/rev/9997dbfbc68a https://hg.mozilla.org/mozilla-central/rev/3f56c00d214f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•