-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Remove Object Pool #1969
Remove Object Pool #1969
Conversation
Here is the performance hit on one of the scenarios that benefits the most from object pooling:
The following Flight Recorder comparisons show the memory and GC impact. This is what concerns me. With Pooling Without With Pooling Without With Pooling Without |
That last set of Flight Recorder tests suggests we can't do this. |
I see a few options:
|
I don't see how any of those are options. Can you please elaborate? It seems to me the option is either make pooling work or use linked lists. |
|
PR #1944 rebased onto 1.x.
This removes the use of object pooling as per discussion in #1908 to achieve correctness. Performance stats will follow in comments.