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

Issue 12079028: cc: Fix RasterWorkerPool shutdown crash. (Closed)

Created:
7 years, 10 months ago by reveman
Modified:
7 years, 10 months ago
Reviewers:
nduca
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Fix RasterWorkerPool shutdown crash. Avoid calling sort on the raster thread vector while deleting its elements. This also adds a "IsRunning" state that is used to check that that the worker pool is not used incorrectly during shutdown. BUG=172059 R=nduca@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179321

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -6 lines) Patch
M cc/raster_worker_pool.h View 2 chunks +16 lines, -0 lines 0 comments Download
M cc/raster_worker_pool.cc View 7 chunks +46 lines, -6 lines 2 comments Download
M cc/tile_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
reveman
I was able to reproduce this by killing the gpu process on desktop but the ...
7 years, 10 months ago (2013-01-28 17:30:02 UTC) #1
nduca
lgtm https://codereview.chromium.org/12079028/diff/1/cc/raster_worker_pool.cc File cc/raster_worker_pool.cc (right): https://codereview.chromium.org/12079028/diff/1/cc/raster_worker_pool.cc#newcode231 cc/raster_worker_pool.cc:231: if (!raster_threads_need_sorting_) Out of curiosity, what does this ...
7 years, 10 months ago (2013-01-29 00:13:08 UTC) #2
reveman
https://codereview.chromium.org/12079028/diff/1/cc/raster_worker_pool.cc File cc/raster_worker_pool.cc (right): https://codereview.chromium.org/12079028/diff/1/cc/raster_worker_pool.cc#newcode231 cc/raster_worker_pool.cc:231: if (!raster_threads_need_sorting_) On 2013/01/29 00:13:08, nduca wrote: > Out ...
7 years, 10 months ago (2013-01-29 02:49:54 UTC) #3
nduca
Yeah makes sense. Still lgtm.
7 years, 10 months ago (2013-01-29 02:50:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/12079028/1
7 years, 10 months ago (2013-01-29 02:51:08 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-01-29 03:14:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/12079028/1
7 years, 10 months ago (2013-01-29 05:33:00 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-01-29 05:49:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/12079028/1
7 years, 10 months ago (2013-01-29 12:31:40 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-01-29 12:31:52 UTC) #10
Message was sent while issue was closed.
Change committed as 179321

Powered by Google App Engine
This is Rietveld 408576698