-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not early return on null
bucket_ptr
Buckets are allocated on demand based on `Thread::bucket`. This means that when only threads with a high `id` (and thus high `bucket`) are writing entries into the `ThreadLocal`, only higher `buckets` will be allocated, and lower buckets will be `null`. Thus we must not early-return when encounting a `null` bucket.
- Loading branch information
Showing
2 changed files
with
48 additions
and
26 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