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

Bucket size of zero is not valid. For bucketless, use small. #5413

Merged
merged 2 commits into from Nov 5, 2018

Conversation

@headius
Copy link
Member

@headius headius commented Nov 5, 2018

This implementation supplied 0 for buckets which causes the older RubyHash impl to crash when resizing. I believe what was intended was to use a smallest-possible Hash and slowly fill it, so I modified the logic to use the small hash paths.

@headius headius added this to the JRuby 9.2.1.0 milestone Nov 5, 2018
@headius headius merged commit d4e5bb6 into jruby:master Nov 5, 2018
1 check was pending
1 check was pending
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@headius headius deleted the headius:fix_to_h branch Nov 5, 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
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant