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

Issue 1664203004: [platform] Add NumberOfAvailableBackgroundThreads (Closed)

Created:
4 years, 10 months ago by Michael Lippautz
Modified:
4 years, 10 months ago
CC:
Hannes Payer (out of office), Paweł Hajdan Jr., v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[platform] Add NumberOfAvailableBackgroundThreads The call can be used by the embedder to provide information on the workers executing background tasks. BUG=chromium:524425 LOG=N Committed: https://crrev.com/f222240374169c69186f5b59ea50101841642109 Cr-Commit-Position: refs/heads/master@{#33788}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Patch Set 3 : Added proper header required to use 'size_t' #

Total comments: 2

Patch Set 4 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M include/v8-platform.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M src/libplatform/default-platform.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/libplatform/default-platform.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
Michael Lippautz
wdyt? The outcome of a short brainstorming with scheduler people today was that the easiest ...
4 years, 10 months ago (2016-02-04 17:27:48 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1664203004/diff/1/include/v8-platform.h File include/v8-platform.h (right): https://codereview.chromium.org/1664203004/diff/1/include/v8-platform.h#newcode60 include/v8-platform.h:60: * be used to limit parallelism in V8. I'd ...
4 years, 10 months ago (2016-02-05 08:27:07 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1664203004/diff/1/include/v8-platform.h File include/v8-platform.h (right): https://codereview.chromium.org/1664203004/diff/1/include/v8-platform.h#newcode60 include/v8-platform.h:60: * be used to limit parallelism in V8. and ...
4 years, 10 months ago (2016-02-05 08:27:53 UTC) #4
Michael Lippautz
Reworded the API description, ptal. https://codereview.chromium.org/1664203004/diff/1/include/v8-platform.h File include/v8-platform.h (right): https://codereview.chromium.org/1664203004/diff/1/include/v8-platform.h#newcode60 include/v8-platform.h:60: * be used to ...
4 years, 10 months ago (2016-02-05 09:15:34 UTC) #7
jochen (gone - plz use gerrit)
lgtm with comment https://codereview.chromium.org/1664203004/diff/80001/src/libplatform/default-platform.cc File src/libplatform/default-platform.cc (right): https://codereview.chromium.org/1664203004/diff/80001/src/libplatform/default-platform.cc#newcode198 src/libplatform/default-platform.cc:198: return static_cast<size_t>(DefaultPlatform::kMaxThreadPoolSize); return thread_pool_size_?
4 years, 10 months ago (2016-02-05 15:03:47 UTC) #8
Michael Lippautz
https://codereview.chromium.org/1664203004/diff/80001/src/libplatform/default-platform.cc File src/libplatform/default-platform.cc (right): https://codereview.chromium.org/1664203004/diff/80001/src/libplatform/default-platform.cc#newcode198 src/libplatform/default-platform.cc:198: return static_cast<size_t>(DefaultPlatform::kMaxThreadPoolSize); On 2016/02/05 15:03:47, jochen (OOO) wrote: > ...
4 years, 10 months ago (2016-02-05 15:13:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1664203004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1664203004/100001
4 years, 10 months ago (2016-02-05 15:13:44 UTC) #12
Hannes Payer (out of office)
Can NumberOfAvailableBackgroundThreads be bigger than number of cores?
4 years, 10 months ago (2016-02-05 15:24:17 UTC) #15
Michael Lippautz
On 2016/02/05 15:24:17, Hannes Payer wrote: > Can NumberOfAvailableBackgroundThreads be bigger than number of cores? ...
4 years, 10 months ago (2016-02-05 15:29:43 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 10 months ago (2016-02-05 15:37:07 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 15:37:44 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f222240374169c69186f5b59ea50101841642109
Cr-Commit-Position: refs/heads/master@{#33788}

Powered by Google App Engine
This is Rietveld 408576698