Closed
Bug 867844
Opened 12 years ago
Closed 12 years ago
Root some random stuff in content/ that has lots of GC hazards
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(3 files, 1 obsolete file)
4.92 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
5.66 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
8.45 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
We have things here and there that need rooting.
Comment 1•12 years ago
|
||
See bug 866450. Maybe we should get that reviewed and landed so we don't duplicate effort.
![]() |
Assignee | |
Comment 2•12 years ago
|
||
Ugh. We've already duplicated effort. ;)
I'll go review that right now.
![]() |
Assignee | |
Comment 3•12 years ago
|
||
Attachment #745493 -
Flags: review?(bugs)
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Attachment #745494 -
Flags: review?(bugs)
![]() |
Assignee | |
Comment 5•12 years ago
|
||
Attachment #745496 -
Flags: review?(bugs)
![]() |
Assignee | |
Updated•12 years ago
|
Blocks: ExactRootingBrowser
Comment 7•12 years ago
|
||
I filed bug 868776 about fixing rooting hazards in Web Audio.
![]() |
Assignee | |
Comment 8•12 years ago
|
||
Attachment #745575 -
Flags: review?(bugs)
![]() |
Assignee | |
Updated•12 years ago
|
Attachment #745493 -
Attachment is obsolete: true
Attachment #745493 -
Flags: review?(bugs)
Comment 9•12 years ago
|
||
Also see bug 868782 and 868783.
Comment 10•12 years ago
|
||
Comment on attachment 745575 [details] [diff] [review]
part 1. Fix rooting hazards in LegacyCall.
Review of attachment 745575 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/bindings/Codegen.py
@@ +4795,5 @@
> function to do the rest of the work. This function should return a
> CGThing which is already properly indented.
> """
> def __init__(self, descriptor, name, args, unwrapFailureCode=None,
> + getThisObj="&args.computeThis(cx).toObject()",
Could you explain this.
Comment 11•12 years ago
|
||
Comment on attachment 745575 [details] [diff] [review]
part 1. Fix rooting hazards in LegacyCall.
> def __init__(self, descriptor, name, args, unwrapFailureCode=None,
>- getThisObj="JS_THIS_OBJECT(cx, vp)"):
>+ getThisObj="&args.computeThis(cx).toObject()",
er, this one.
(don't understand how review tool works)
Attachment #745575 -
Flags: review?(bugs) → review+
Updated•12 years ago
|
Attachment #745494 -
Flags: review?(bugs) → review+
Updated•12 years ago
|
Attachment #745496 -
Flags: review?(bugs) → review+
![]() |
Assignee | |
Comment 12•12 years ago
|
||
> Could you explain this.
Sure. It's functionally equivalent to JS_THIS_OBJECT(cx, vp), but actually uses the 'args' which I introduced to be able to pass in a handle to legacycaller via args.thisv(). This change is not, strictly speaking, needed for legacycaller, but without it we have an unused args in lots of methods triggering tons of compiler warnings. Since our long-term plan is to move to CallArgs in this code anyway, I figured I'd take this first step and silence the warnings.
![]() |
Assignee | |
Comment 13•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/aed0d9db6a9c
https://hg.mozilla.org/integration/mozilla-inbound/rev/f3881fe6a5b8
https://hg.mozilla.org/integration/mozilla-inbound/rev/07dc100e6fbb
I'll file other bugs for more rooting.
Summary: Root random stuff in content/ → Root some random stuff in content/ that has lots of GC hazards
![]() |
Assignee | |
Updated•12 years ago
|
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla23
Comment 14•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/aed0d9db6a9c
https://hg.mozilla.org/mozilla-central/rev/f3881fe6a5b8
https://hg.mozilla.org/mozilla-central/rev/07dc100e6fbb
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•