Closed
Bug 1508099
Opened 6 years ago
Closed 6 years ago
Record refcount changes for image decoders and decoding tasks
Categories
(Core Graveyard :: Web Replay, enhancement)
Core Graveyard
Web Replay
Tracking
(firefox65 fixed)
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: bhackett1024, Assigned: bhackett1024)
References
Details
Attachments
(3 files)
4.52 KB,
patch
|
Details | Diff | Splinter Review | |
3.40 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
1.12 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
There have been some mismatches when using Web Replay that seem like they are due to image::Decoders being destroyed on inconsistent threads between recording and replaying. I'm not sure if this is due to inconsistent releases of the last references on the Decoder itself or the IDecodingTask which references it, so the attached patch ensures that references on each of these classes are recorded and replayed consistently.
Assignee | ||
Comment 1•6 years ago
|
||
Currently, classes which implement their refcounting via the NS_INLINE_DECL_THREADSAFE_REFCOUNTING or NS_INLINE_DECL_THREADSAFE_VIRTUAL_REFCOUNTING macros do not have a way to specify that their refcount changes should be recorded. This patch adds additional macros to support this.
Attachment #9025910 -
Flags: review?(nfroyd)
Assignee | ||
Comment 2•6 years ago
|
||
Record changes to reference counts on Decoder and IDecodingTask.
Attachment #9025911 -
Flags: review?(tnikkel)
Updated•6 years ago
|
Attachment #9025911 -
Flags: review?(tnikkel) → review+
![]() |
||
Updated•6 years ago
|
Attachment #9025910 -
Flags: review?(nfroyd) → review+
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/456275c5ddac
Part 1 - Add macros for recording refcounts on non-nsISupports classes, r=froydnj.
https://hg.mozilla.org/integration/mozilla-inbound/rev/98430e6d541b
Part 2 - Record refcount changes for image decoders and decoding tasks, r=tnikkel.
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/456275c5ddac
https://hg.mozilla.org/mozilla-central/rev/98430e6d541b
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•