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

Ensure that histograms snapshots are immutable #538

Merged
merged 1 commit into from
Jun 17, 2018

Conversation

ivantopo
Copy link
Contributor

Previously if any reporter was able to access the zigZagCounts ByteBuffer then it would be possible to change it's state (most notably, position) and could break operations for other reporters. This ensures no single reporter can mess with the counts.

@dpsoft
Copy link
Contributor

dpsoft commented Jun 13, 2018

@ivantopo LGTM!

@ivantopo ivantopo merged commit 145a601 into kamon-io:master Jun 17, 2018
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.

2 participants