Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 685153005: Oilpan: HRTF dababase loader thread should be attached to Oilpan (Closed)

Created:
6 years, 1 month ago by haraken
Modified:
6 years, 1 month ago
Reviewers:
oilpan-reviews, tkent, sof
CC:
blink-reviews, Raymond Toy
Project:
blink
Visibility:
Public.

Description

Oilpan: HRTF dababase loader thread should be attached to Oilpan When the main thread passes a pointer of GarbageCollected object to a HRTFDatabase thread (via postTask), the HRTFDatabase thread creates a CrossThreadPersistent handle for the pointer. However, this is not allowed because the HRTFDatabase thread is not attached to Oilpan. We should attach the HRTFDatabase thread to Oilpan. This CL removes MutexLocker from HRTFDatabase's destructor since we don't need to clear m_htrfDatabase in the destructor. BUG=427303 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185024

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -13 lines) Patch
M Source/platform/audio/HRTFDatabaseLoader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/audio/HRTFDatabaseLoader.cpp View 3 chunks +14 lines, -11 lines 2 comments Download

Messages

Total messages: 10 (3 generated)
haraken
PTAL This is an alternative fix to https://codereview.chromium.org/670113002/. (This CL doesn't address the issue in ...
6 years, 1 month ago (2014-11-10 06:13:35 UTC) #2
tkent
lgtm https://codereview.chromium.org/685153005/diff/1/Source/platform/audio/HRTFDatabaseLoader.cpp File Source/platform/audio/HRTFDatabaseLoader.cpp (left): https://codereview.chromium.org/685153005/diff/1/Source/platform/audio/HRTFDatabaseLoader.cpp#oldcode75 Source/platform/audio/HRTFDatabaseLoader.cpp:75: MutexLocker locker(m_lock); Please mention this change in the ...
6 years, 1 month ago (2014-11-10 06:27:55 UTC) #3
haraken
https://codereview.chromium.org/685153005/diff/1/Source/platform/audio/HRTFDatabaseLoader.cpp File Source/platform/audio/HRTFDatabaseLoader.cpp (left): https://codereview.chromium.org/685153005/diff/1/Source/platform/audio/HRTFDatabaseLoader.cpp#oldcode75 Source/platform/audio/HRTFDatabaseLoader.cpp:75: MutexLocker locker(m_lock); On 2014/11/10 06:27:54, tkent wrote: > Please ...
6 years, 1 month ago (2014-11-10 06:37:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685153005/1
6 years, 1 month ago (2014-11-10 06:38:18 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as 185024
6 years, 1 month ago (2014-11-10 07:13:11 UTC) #7
sof
This leads to some webaudio/ crashes when finalizing a HRTFDataBaseLoader, as finalizing its WebThreadSupportingGC is ...
6 years, 1 month ago (2014-11-11 07:27:03 UTC) #9
sof
6 years, 1 month ago (2014-11-12 07:40:56 UTC) #10
Message was sent while issue was closed.
On 2014/11/11 07:27:03, sof wrote:
> This leads to some webaudio/ crashes when finalizing a HRTFDataBaseLoader, as
> finalizing its WebThreadSupportingGC is dependent on entering a safe point,
> which we're not at when sweeping --
> 
>  
>
https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Linux_Oil...

All well again after http://crrev.com/711323002 (r185177)

Powered by Google App Engine
This is Rietveld 408576698