Skip to content
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 Mallocator instead of "theAllocator" in pipe() to reduce GC pressure #381

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

s-ludwig
Copy link
Member

Heavy parallel allocation of medium sized buffers can cause very large, persistent growth of GC pool memory. Since theAllocator is a GCAllocator by default, pipe() was one of the culprits for this behavior.

…ure.

Heavy parallel allocation of medium sized buffers can cause very large, persistent growth of GC pool memory. Since "theAllocator" is a GCAllocator by default, pipe() was one of the culprits for this behavior.
@l-kramer l-kramer merged commit 8e3aeb2 into master Jan 15, 2024
12 checks passed
@s-ludwig s-ludwig deleted the avoid_gc_allocated_pipe_buffer branch January 15, 2024 10:29
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.

2 participants