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

Fix for #2011 and atomics on 32bit systems. #2012

Merged
merged 1 commit into from Mar 16, 2021
Merged

Conversation

derekcollison
Copy link
Member

Signed-off-by: Derek Collison derek@nats.io

/cc @nats-io/core

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@philpennock philpennock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have stats (from CI on this PR?) on any performance impact from moving the mutex away from the zero-offset and how that changes addressing modes used in the generated code?

I think the mutex is always 24 octets wide, so IF there is a performance regression, that could be moved back to the front. But I don't know that there is any performance impact.

@derekcollison
Copy link
Member Author

We have the mutex moved already for the client struct which is our most sensitive to perf so I think we are good. But I do not have direct numbers of impact.

@derekcollison derekcollison merged commit 9fa16e2 into master Mar 16, 2021
@derekcollison derekcollison deleted the arm32_panic branch March 16, 2021 21: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

2 participants