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

Issue 1958973003: Revert of Name TaskScheduler's worker threads (Closed)

Created:
4 years, 7 months ago by iclelland
Modified:
4 years, 7 months ago
Reviewers:
robliao, fdoray, gab
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org, danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@b7_fdoray_fixtracing
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Name TaskScheduler's worker threads (patchset #7 id:140001 of https://codereview.chromium.org/1951453002/ ) Reason for revert: This patch broke the Win x64 build -- The error is ninja -t msvc -e environment.x64 -- C:\b\build\slave\cache\cipd\goma/gomacc "C:\b\depot_tools\win_toolchain\vs_files\95ddda401ec5678f15eeed01d2bee08fcbc5ee97\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\task_scheduler\base.scheduler_thread_pool_impl.obj.rsp /c ..\..\base\task_scheduler\scheduler_thread_pool_impl.cc /Foobj\base\task_scheduler\base.scheduler_thread_pool_impl.obj /Fdobj\base\base.cc.pdb c:\b\build\slave\win_x64\build\src\base\task_scheduler\scheduler_thread_pool_impl.cc(515): error C2220: warning treated as error - no 'object' file generated c:\b\build\slave\win_x64\build\src\base\task_scheduler\scheduler_thread_pool_impl.cc(515): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data See the whole (broken) compile in https://build.chromium.org/p/chromium/builders/Win%20x64/builds/535/steps/compile/logs/stdio Original issue's description: > Name TaskScheduler's worker threads > > In conjunction with https://codereview.chromium.org/1937323002/ this > makes TaskScheduler work with chrome://tracing. > > Thread name will be comprised of 3 parts: > [1] Thread Pool name, e.g. "TaskSchedulerBackgroudFileIO" > [2] "Worker" > [3] Thread Index in thread pool > > This can make for long names, e.g.: > "TaskSchedulerBackgroudFileIOWorker3" > but I think a descriptive name is still preferable. > > The one caveat is that WinDBG's implementation of thread name > currently truncates at 32 characters... I'm willing to live with > that for now until (if ever) we realize it's too annoying. > > BUG=553459 > > Committed: https://crrev.com/a0813e0c0286ee6790433164957141e9f299bff7 > Cr-Commit-Position: refs/heads/master@{#392351} TBR=fdoray@chromium.org,robliao@chromium.org,gab@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=553459 Committed: https://crrev.com/1e27d6299d6587fec90eb89fc4ceb02e33b4023a Cr-Commit-Position: refs/heads/master@{#392364}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -62 lines) Patch
M base/task_scheduler/scheduler_thread_pool_impl.h View 5 chunks +4 lines, -11 lines 0 comments Download
M base/task_scheduler/scheduler_thread_pool_impl.cc View 10 chunks +9 lines, -25 lines 0 comments Download
M base/task_scheduler/scheduler_thread_pool_impl_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl.cc View 1 chunk +8 lines, -12 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl_unittest.cc View 2 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
iclelland
Created Revert of Name TaskScheduler's worker threads
4 years, 7 months ago (2016-05-09 18:15:11 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958973003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958973003/1
4 years, 7 months ago (2016-05-09 18:15:43 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-09 18:16:26 UTC) #4
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 18:18:33 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1e27d6299d6587fec90eb89fc4ceb02e33b4023a
Cr-Commit-Position: refs/heads/master@{#392364}

Powered by Google App Engine
This is Rietveld 408576698