Skip to content

fix[javalib]: Fix calculation of initial maximal load of ThreadLocal.Values table #3966

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

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

WojciechMazur
Copy link
Contributor

Was incorrectly using the doubled size as a base thus preventing growing the table entry over the INITIAL_SIZE=16
Fixes #3956

…was incorrectly using the doubled size as a base thus preventing growing the table entry over the INITIAL_SIZE=16
@WojciechMazur WojciechMazur merged commit c7908e3 into scala-native:main Jun 19, 2024
@WojciechMazur WojciechMazur deleted the fix/3956 branch June 19, 2024 10:37
@sideeffffect
Copy link
Contributor

Can we expect a release with this fix anytime soon? 🙏 It would unblock at least one PR circe/circe#2254

@WojciechMazur
Copy link
Contributor Author

I plan to make a release this week, although now I'm mostly focused on the quick delivery of backports to Scala LTS. These tend to have the highest priority right now as we're already behind the schedule a lot.

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.

ThreadLocal.Values#getAfterMiss can get into an infinite loop
2 participants