forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 Review-Url: https://codereview.chromium.org/2383833004 Cr-Commit-Position: refs/heads/master@{#423952}
- Loading branch information
robliao
authored and
Commit bot
committed
Oct 7, 2016
1 parent
90380f5
commit c90ffe2
Showing
3 changed files
with
82 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters