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

Issue 139633003: Switch thread_local to use chromium's TLS implementation (Closed)

Created:
6 years, 11 months ago by michaelbai
Modified:
4 years, 4 months ago
Reviewers:
brettw
CC:
chromium-reviews, erikwright+watch_chromium.org, Hongbo Min
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Switch thread_local to use chromium's TLS implementation This patch switch thread_local to use ThreadLocalStorage::Slot, so it get the TLS slot from the chromium's TLS instead of OS's. There is debate whether the Windows' TLS's destructor implementation is reliable or not, if we are able to remove all the use of TLS destructor, only ThreadLocalStorage::Slot needs to change, as thread_local doesn't use TLS destructor at all. BUG=264406 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254986

Patch Set 1 #

Patch Set 2 : Increase TLS slot #

Patch Set 3 : Increase TLS slot to 256 #

Patch Set 4 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -115 lines) Patch
M base/base.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M base/threading/thread_local.h View 1 chunk +6 lines, -34 lines 0 comments Download
D base/threading/thread_local_posix.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M base/threading/thread_local_storage.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D base/threading/thread_local_win.cc View 1 chunk +0 lines, -40 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
michaelbai
6 years, 11 months ago (2014-01-17 18:39:22 UTC) #1
brettw
This patch looks fine, but I don't quite follow the second part of the commit ...
6 years, 11 months ago (2014-01-26 06:35:08 UTC) #2
michaelbai
On 2014/01/26 06:35:08, brettw wrote: > This patch looks fine, but I don't quite follow ...
6 years, 11 months ago (2014-01-27 04:27:22 UTC) #3
brettw
I'm not arguing about whether this patch is OK, I'm saying your commit message is ...
6 years, 11 months ago (2014-01-27 04:31:29 UTC) #4
michaelbai
Description updated, PTAL
6 years, 11 months ago (2014-01-27 05:33:36 UTC) #5
brettw
Great, that's a lot easier to follow. LGTM
6 years, 11 months ago (2014-01-27 06:24:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/139633003/1
6 years, 11 months ago (2014-01-27 17:11:55 UTC) #7
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=118399
6 years, 11 months ago (2014-01-27 18:02:07 UTC) #8
michaelbai
Hi Brett, PTAL, I have increased the TLS slot to 256 to pass the iOS's ...
6 years, 10 months ago (2014-02-03 20:42:36 UTC) #9
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-04 18:36:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/139633003/350001
6 years, 9 months ago (2014-03-04 18:36:42 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 18:59:27 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=274165
6 years, 9 months ago (2014-03-04 18:59:28 UTC) #13
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-04 19:04:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/139633003/420001
6 years, 9 months ago (2014-03-04 19:07:59 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 20:49:14 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=274226
6 years, 9 months ago (2014-03-04 20:49:14 UTC) #17
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-05 04:07:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/139633003/420001
6 years, 9 months ago (2014-03-05 04:08:14 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 09:52:55 UTC) #20
Message was sent while issue was closed.
Change committed as 254986

Powered by Google App Engine
This is Rietveld 408576698