Closed
Bug 1191684
Opened 10 years ago
Closed 10 years ago
Remove unnecessary calls to NotifyAll() on the decoder monitor
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(1 file)
https://hg.mozilla.org/try/rev/f90ff0c3fc79#l2.33
https://treeherder.mozilla.org/#/jobs?repo=try&revision=253c468796a8
A simple test shows that no one calls Wait() on the decoder monitor (We purposefully crash when Wait() is called on the decoder monitor). We are now safe to remove calls to NotifyAll() on the decoder monitor.
Comment 1•10 years ago
|
||
was there ever anything waiting on the monitor ?
I've been at Mozilla for one year, and I don't think that I ever saw anything waiting on it.
Assignee | ||
Comment 2•10 years ago
|
||
No one is waiting. The test in comment 0 proves it unless there are some code paths not exercised by our tests.
Assignee | ||
Comment 3•10 years ago
|
||
Oh yes. There used to some code waiting for the decoder monitor. I need to dig the hg logs.
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Try looks green. https://treeherder.mozilla.org/#/jobs?repo=try&revision=695b488a292b
Assignee | ||
Comment 6•10 years ago
|
||
Bug 1191684 - Remove unnecessary calls to NotifyAll() on the decoder monitor since no one calls Wait().
Attachment #8644745 -
Flags: review?(cpearce)
Updated•10 years ago
|
Attachment #8644745 -
Flags: review?(cpearce) → review+
Comment 7•10 years ago
|
||
Comment on attachment 8644745 [details]
MozReview Request: Bug 1191684 - Remove unnecessary calls to NotifyAll() on the decoder monitor since no one calls Wait().
https://reviewboard.mozilla.org/r/15325/#review13889
Nice.
Assignee | ||
Comment 8•10 years ago
|
||
Thanks for the review.
Comment 10•10 years ago
|
||
Assignee: nobody → jwwang
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•