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

Issue 2692063004: Release gpu::ContextGroup in gpu::InProcessCommandBuffer on GPU thread (Closed)

Created:
3 years, 10 months ago by tzik
Modified:
3 years, 10 months ago
CC:
chromium-reviews, piman+watch_chromium.org, vmiura, Zhenyao Mo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Release gpu::ContextGroup in gpu::InProcessCommandBuffer on GPU thread ContextGroup has a non-thread-safe ref count. It is created on the GPU thread, and held on the GPU thread by InProcessCommandBuffers and GLES2Decoder. Though GLES2Decoder releases the reference on the GPU thread, InProcessCommandBuffer releases it on the main thread, that causes a data race on the ContextGroup ref count. BUG=690966 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2692063004 Cr-Commit-Position: refs/heads/master@{#450569} Committed: https://chromium.googlesource.com/chromium/src/+/684418e9e512ef89bab2af1e0d0e99d055bc94a7

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M gpu/ipc/in_process_command_buffer.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
tzik
PTAL
3 years, 10 months ago (2017-02-14 09:05:59 UTC) #6
Ken Russell (switch to Gerrit)
Please reference a bug ID from the CL description. This must have been caught by ...
3 years, 10 months ago (2017-02-14 23:52:07 UTC) #9
tzik
On 2017/02/14 23:52:07, Ken Russell wrote: > Please reference a bug ID from the CL ...
3 years, 10 months ago (2017-02-15 03:58:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692063004/1
3 years, 10 months ago (2017-02-15 03:59:52 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 05:49:11 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/684418e9e512ef89bab2af1e0d0e...

Powered by Google App Engine
This is Rietveld 408576698