-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Hang with threads and Hash[]= on unfrozen keys #3171
Comments
The problem is |
I think we should review this cache if this is the solution...re-opening |
a |
The logic here has been reworked since this bug was filed, most recently in 8d3bb53 which was included in JRuby 9.2.10. The original case no longer hangs. I will mark this as fixed as of 9.2.1.0. If you run into problems in the future, please file a new issue. |
The following code reliably hangs JRuby 9k. Note the hashes are not shared between threads:
The hung threads are ending up here:
Calling key.freeze prevents the problem.
Reproduced in:
The text was updated successfully, but these errors were encountered: