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

Issue 2383833004: Ensure Freed TLS Slots Contain nullptr on Reallocation (Closed)

Created:
4 years, 2 months ago by robliao
Modified:
4 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure Freed TLS Slots Contain nullptr on Reallocation Code generally depends on TLS slots initialized to zero. This means that code that gets a reused slot also depends on the reused slot containing zero. This CL introduces a versioning system to allow us to quickly determine if a slot was previously freed. Also added overview comments as a bonus. BUG=590907 Committed: https://crrev.com/c90ffe2a6c10bb34c8eed5225f6d3e4d3be23acb Cr-Commit-Position: refs/heads/master@{#423952}

Patch Set 1 #

Patch Set 2 : Add Banner Doc #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -17 lines) Patch
M base/threading/thread_local_storage.h View 2 chunks +3 lines, -0 lines 0 comments Download
M base/threading/thread_local_storage.cc View 1 10 chunks +75 lines, -16 lines 3 comments Download
M base/threading/thread_local_storage_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 34 (25 generated)
robliao
Please review this CL. Thanks!
4 years, 2 months ago (2016-10-03 17:21:26 UTC) #8
brettw
There's something about this system I'm not following that's making this not make sense to ...
4 years, 2 months ago (2016-10-03 20:05:16 UTC) #11
robliao
On 2016/10/03 20:05:16, brettw (ping on IM after 24h) wrote: > There's something about this ...
4 years, 2 months ago (2016-10-04 00:06:04 UTC) #12
brettw
lgtm https://codereview.chromium.org/2383833004/diff/20001/base/threading/thread_local_storage.cc File base/threading/thread_local_storage.cc (right): https://codereview.chromium.org/2383833004/diff/20001/base/threading/thread_local_storage.cc#newcode15 base/threading/thread_local_storage.cc:15: // Chrome Thread Local Storage (TLS) This comment ...
4 years, 2 months ago (2016-10-04 03:33:57 UTC) #18
robliao
https://codereview.chromium.org/2383833004/diff/20001/base/threading/thread_local_storage.cc File base/threading/thread_local_storage.cc (right): https://codereview.chromium.org/2383833004/diff/20001/base/threading/thread_local_storage.cc#newcode15 base/threading/thread_local_storage.cc:15: // Chrome Thread Local Storage (TLS) On 2016/10/04 03:33:57, ...
4 years, 2 months ago (2016-10-04 19:19:53 UTC) #19
robliao
https://codereview.chromium.org/2383833004/diff/20001/base/threading/thread_local_storage.cc File base/threading/thread_local_storage.cc (right): https://codereview.chromium.org/2383833004/diff/20001/base/threading/thread_local_storage.cc#newcode15 base/threading/thread_local_storage.cc:15: // Chrome Thread Local Storage (TLS) On 2016/10/04 19:19:52, ...
4 years, 2 months ago (2016-10-06 22:14:42 UTC) #24
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/2383833004/20001
4 years, 2 months ago (2016-10-07 20:16:40 UTC) #30
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-07 20:22:43 UTC) #32
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 20:24:38 UTC) #34
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c90ffe2a6c10bb34c8eed5225f6d3e4d3be23acb
Cr-Commit-Position: refs/heads/master@{#423952}

Powered by Google App Engine
This is Rietveld 408576698