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

Simplify hash code calculation #751

Merged

Conversation

wreulicke
Copy link
Member

@wreulicke wreulicke commented Sep 11, 2018

I try to profile spotbugs running in gradle plugin.
I seem that hash code collision in FieldOrMethodDescriptor occurs frequently.
Because FieldOrMethodDescriptor.equals called from HashMap frequently.

after simplified, not called frequently.


Make sure these boxes are checked before submitting your PR -- thank you!

  • Added an entry into CHANGELOG.md if you have changed SpotBugs code

@wreulicke wreulicke changed the title [PoC] simplify hash code calculation Simplify hash code calculation Sep 11, 2018
ThrawnCA
ThrawnCA previously approved these changes Sep 11, 2018
Copy link
Member

@KengoTODA KengoTODA left a comment

Choose a reason for hiding this comment

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

Please add an entry to CHANGELOG.md

@wreulicke
Copy link
Member Author

wreulicke commented Sep 14, 2018

@KengoTODA added entry to changelog.

@KengoTODA
Copy link
Member

oops, you added entry to 3.1.7 version... Plz rebase and move entry under Unreleased.

@wreulicke wreulicke changed the base branch from release-3.1 to merge-release-3.1-to-master September 14, 2018 09:28
@wreulicke
Copy link
Member Author

I rebased on merge-release-3.1-to-master.
and base branch changed.

@KengoTODA
Would you like to merge into master after merge-release-3.1-to-master merged or
merge into merge-release-3.1-to-master ?

@KengoTODA KengoTODA merged commit 40659a2 into spotbugs:merge-release-3.1-to-master Sep 18, 2018
@KengoTODA
Copy link
Member

KengoTODA commented Sep 18, 2018

merged. don't you need to merge this to release-3.1?

for now, your change will be merged to master only.

@wreulicke
Copy link
Member Author

for now, your change will be merged to master only.

OK
Thanks.

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

3 participants