Closed
Bug 874105
Opened 11 years ago
Closed 11 years ago
Make CallSetup hold a Rooted to the passed-in object
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Right now CallSetup calls UnmarkGray on the passed-in object, but if we then gc while someone is using that object and while the CallSetup is on the stack, the object can go gray again. We should just hold a Rooted to the object in the CallSetup so we don't have to worry about that stuff.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #751767 -
Flags: review?(continuation)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bzbarsky
Comment 2•11 years ago
|
||
Comment on attachment 751767 [details] [diff] [review] Make CallSetup hold a Rooted to the object it's constructed with so we don't have to worry about it going gray while things like argument conversion for the call are in progress. Review of attachment 751767 [details] [diff] [review]: ----------------------------------------------------------------- good catch
Attachment #751767 -
Flags: review?(continuation) → review+
Assignee | ||
Updated•11 years ago
|
Flags: in-testsuite-
Target Milestone: --- → mozilla24
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d3052c10db7b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•