-
-
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
Symbol GC - Ruby 2.2.0 compatibility #2350
Comments
+1 |
test is pretty naive, considering there's enough memory 100_000 objects might not simply fill it up ... also |
According to this post by @headius,
It would appear that a Full GC has been run. |
We need to change our symbol backing store to not keep hard references. We were aware that this is an unfinished task but i think we must have missed filing a tracking issue for this. |
Easier than expected...fixed in f777300. |
I've copied the code from the original patch in MRI (#9634) and run it against JRuby HEAD (c1be61a) and it seems that Symbols are not getting GC'ed. I'm not sure if this is classified as an implementation detail but I would think this might have some impact for Rails 5.0 when it comes out. Here's the code:
Here's the results:
The text was updated successfully, but these errors were encountered: