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

Use atomics to reduce contention within failover invaldator. #5526

Merged
merged 1 commit into from Dec 17, 2018

Conversation

Projects
None yet
2 participants
@headius
Copy link
Member

headius commented Dec 17, 2018

Instead of locking around updates to the switchpoint and failure
count, this patch replaces those fields with a stamped atomic
reference that can update both atomically.

Fixes #5525.

Use atomics to reduce contention within failover invaldator.
Instead of locking around updates to the switchpoint and failure
count, this patch replaces those fields with a stamped atomic
reference that can update both atomically.

Fixes #5525.
@enebo

enebo approved these changes Dec 17, 2018

@headius headius merged commit 7f44f30 into jruby:master Dec 17, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@headius headius deleted the headius:reduce_global_contention branch Dec 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.