-
Notifications
You must be signed in to change notification settings - Fork 767
Use custom allocator for JITServer client MessageBuffers #19808
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
Use custom allocator for JITServer client MessageBuffers #19808
Conversation
Attn @mpirvu. I wasn't sure where to put it, so this happens to attempt to destroy the |
3938aeb
to
234bade
Compare
234bade
to
9c1fac9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jenkins test sanity xlinuxjit,zlinuxjit,alinux64jit jdk21 |
1 similar comment
jenkins test sanity xlinuxjit,zlinuxjit,alinux64jit jdk21 |
coredumps on x86 |
I tried AcmeAirEE8 with this change and the server is crashing. Something is not right. |
I see one thing wrong - when I moved the monitor initialization into |
A global, reference-counted allocator is now created at JITServer clients that is used to allocate the memory used by the internal MessageBuffer storage buffer during client/server communication. This allocator's memory segments are disclaimed if the number of connections to the server drops to zero, and the compiler will also periodically attempt to destroy the allocator entirely. Signed-off-by: Christian Despres <[email protected]>
9c1fac9
to
5c98d28
Compare
That should be fixed. |
jenkins test sanity xlinuxjit,zlinuxjit,alinux64jit jdk21 |
A global, reference-counted allocator is now created at JITServer clients that is used to allocate the memory used by the internal MessageBuffer storage buffer during client/server communication. This allocator's memory segments are disclaimed if the number of connections to the server drops to zero, and the compiler will also periodically attempt to destroy the allocator entirely.