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

Align LineHandler struct fields to allow atomic access #52

Merged
merged 2 commits into from Jun 5, 2020
Merged

Align LineHandler struct fields to allow atomic access #52

merged 2 commits into from Jun 5, 2020

Conversation

billglover
Copy link
Contributor

This is the proposed fix for #51. By moving the failures and throttled fields to the top of the struct we can ensure they are 64-bit aligned.

Copy link
Contributor

@vikramraman vikramraman left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@vikramraman vikramraman merged commit 98565c2 into wavefrontHQ:master Jun 5, 2020
laullon added a commit that referenced this pull request Jun 30, 2020
* master:
  Add content on custom tracing port (#56)
  Update the README.MD file (#54)
  speed up histo tests (#53)
  clarify 64-bit misalignment
  Align LineHandler struct fields to allow atomic access (#52)
  tweak source formatting
  Enhance the wavefront-sdk-go to support Kubernetes environments (#47)

# Conflicts:
#	application/application.go
#	internal/formatter.go
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