Closed Bug 1420819 Opened 7 years ago Closed 7 years ago

Run MediaCache::Flush() off the main thread

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/8839daefd69087d7ac2655b72790d3a25b6a815c/dom/media/MediaCache.cpp#680-693

FreeBlock(), Truncate(), mBlockCache->Flush() are all safe to run off the main thread with the cache monitor held.
Assignee: nobody → jwwang
Blocks: 1420324, 1369263
Priority: -- → P3
Attachment #8932683 - Flags: review?(bechen)
Comment on attachment 8932683 [details]
Bug 1420819 - run MediaCache::Flush() off the main thread.

https://reviewboard.mozilla.org/r/203746/#review209218
Attachment #8932683 - Flags: review?(bechen) → review+
Attachment #8932683 - Flags: review?(gsquelart)
Comment on attachment 8932683 [details]
Bug 1420819 - run MediaCache::Flush() off the main thread.

https://reviewboard.mozilla.org/r/203746/#review209242
Attachment #8932683 - Flags: review?(gsquelart) → review+
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8316864557a2
run MediaCache::Flush() off the main thread. r=bechen,gerald
https://hg.mozilla.org/mozilla-central/rev/8316864557a2
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: