Closed
Bug 1186626
Opened 8 years ago
Closed 8 years ago
Replace AutoShapeVector with Rooted<ShapeVector>
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: terrence, Assigned: terrence)
References
Details
Attachments
(5 files)
27.04 KB,
patch
|
jandem
:
review+
terrence
:
checkin+
|
Details | Diff | Splinter Review |
1.14 KB,
patch
|
till
:
review+
terrence
:
checkin+
|
Details | Diff | Splinter Review |
2.70 KB,
patch
|
efaust
:
review+
terrence
:
checkin+
|
Details | Diff | Splinter Review |
3.00 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
4.71 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
This was eminently straightforward. I split this up more than I probably needed to, but it should at least help raise awareness of the new tools.
Attachment #8637447 -
Flags: review?(jdemooij)
Assignee | ||
Comment 1•8 years ago
|
||
And the ShapeVectors in self-hosting.
Attachment #8637448 -
Flags: review?(till)
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8637449 -
Flags: review?(efaustbmo)
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8637451 -
Flags: review?(jorendorff)
Assignee | ||
Comment 4•8 years ago
|
||
And those should be all the users.
Attachment #8637452 -
Flags: review?(sphink)
Comment 5•8 years ago
|
||
Comment on attachment 8637448 [details] [diff] [review] use_rooted_for_selfhosting_shapevec-v0.diff Review of attachment 8637448 [details] [diff] [review]: ----------------------------------------------------------------- r=me
Attachment #8637448 -
Flags: review?(till) → review+
Comment 6•8 years ago
|
||
Comment on attachment 8637449 [details] [diff] [review] use_rooted_for_scopeobj_shapevec-v0.diff Review of attachment 8637449 [details] [diff] [review]: ----------------------------------------------------------------- APPROVED. ::: js/src/vm/ScopeObject.cpp @@ +850,5 @@ > > for (Shape::Range<NoGC> r(srcBlock->lastProperty()); !r.empty(); r.popFront()) > + shapes[srcBlock->shapeToIndex(r.front())] = &r.front(); > + > + RootedId id(cx); I like how you guys come through all the time and are like "people don't understand how to use Rooted at all" and just fix it. Thanks :)
Attachment #8637449 -
Flags: review?(efaustbmo) → review+
Comment 7•8 years ago
|
||
Comment on attachment 8637447 [details] [diff] [review] use_rooted_for_baseline_shapevec-v0.diff Review of attachment 8637447 [details] [diff] [review]: ----------------------------------------------------------------- What about RootedShapeVector/HandleShapeVector typedefs for consistency, or do you think that's confusing?
Attachment #8637447 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #7) > Comment on attachment 8637447 [details] [diff] [review] > use_rooted_for_baseline_shapevec-v0.diff > > Review of attachment 8637447 [details] [diff] [review]: > ----------------------------------------------------------------- > > What about RootedShapeVector/HandleShapeVector typedefs for consistency, or > do you think that's confusing? I recently noticed that someone typedefed RootedScriptSource to Rooted<ScriptSourceObject>. Of course this was only after a frantic hour of trying to figure out how in the world Rooted<ScriptSource> could possibly have compiled and what GC bugs it had introduced. This sort of thing makes me think that the typedefs were a mistake.
Comment 9•8 years ago
|
||
Comment on attachment 8637452 [details] [diff] [review] remove_AutoShapeVector-v0.diff Review of attachment 8637452 [details] [diff] [review]: ----------------------------------------------------------------- \o/
Attachment #8637452 -
Flags: review?(sphink) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: leave-open
Comment 10•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/22e64a727f5c https://hg.mozilla.org/integration/mozilla-inbound/rev/898eaedb48cb https://hg.mozilla.org/integration/mozilla-inbound/rev/3b25dd5d9f0e
Assignee | ||
Updated•8 years ago
|
Attachment #8637447 -
Flags: checkin+
Assignee | ||
Updated•8 years ago
|
Attachment #8637448 -
Flags: checkin+
Assignee | ||
Updated•8 years ago
|
Attachment #8637449 -
Flags: checkin+
Comment 11•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/22e64a727f5c https://hg.mozilla.org/mozilla-central/rev/898eaedb48cb https://hg.mozilla.org/mozilla-central/rev/3b25dd5d9f0e
Assignee | ||
Updated•8 years ago
|
Attachment #8637451 -
Flags: review?(jorendorff) → review?(jcoppeard)
Updated•8 years ago
|
Attachment #8637451 -
Flags: review?(jcoppeard) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: leave-open
Comment 12•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6cc0bc6b707d https://hg.mozilla.org/integration/mozilla-inbound/rev/7cbb4de9b9c6
Comment 13•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6cc0bc6b707d https://hg.mozilla.org/mozilla-central/rev/7cbb4de9b9c6
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•