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

Ability to disable array content printout on UnsafeBuffer#toString(). #166

Merged
merged 1 commit into from
Feb 8, 2019
Merged

Ability to disable array content printout on UnsafeBuffer#toString(). #166

merged 1 commit into from
Feb 8, 2019

Conversation

avrecko
Copy link
Contributor

@avrecko avrecko commented Feb 8, 2019

I was a bit baffled for a few moments why IDEA didn't want to skip over a method in debug mode. It turns out the debugger calls toString() on objects quite profusely.

UnsafeBuffer#toString() if it is backed by an array will print the content of the array. For large arrays this doesn't quite work out.

I added a property so it is possible to disable the printout while maintaining backward compatibility. If it is not an issue, maybe better to just go without printing the content altogether?

Also added for ExpandableArrayBuffer.

@mjpt777 mjpt777 merged commit 9604718 into real-logic:master Feb 8, 2019
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