Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed padding of the integer and node classes. #1359

Merged
merged 1 commit into from
Jun 13, 2014

Conversation

akarnokd
Copy link
Member

Added proper padding of MpscLinkedQueue and PaddedAtomicInteger, based on Netty's implementation.

Note that each padded class now occupies 256 bytes (which translates to either 2 or 4 cache lines) to avoid false sharing in both before and after the actual value and to avoid adjacent cache line fetch effects.

For issue #1310

@cloudbees-pull-request-builder

RxJava-pull-requests #1279 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Jun 13, 2014
Fixed padding of the integer and node classes.
@benjchristensen benjchristensen merged commit 5dd0ede into ReactiveX:master Jun 13, 2014
@akarnokd akarnokd deleted the MpscLinkedQueuePadding branch January 20, 2015 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants