Skip to content

Conversation

@ivandika3
Copy link
Contributor

What changes were proposed in this pull request?

See https://issues.apache.org/jira/browse/RATIS-2189

How was this patch tested?

Checked using jmap -histo:live that DirectByteBuffer are not created when using the following arguments:

-Dorg.apache.ratis.thirdparty.io.netty.noPreferDirect=true -Dorg.apache.ratis.thirdparty.io.netty.noUnsafe=true -Dorg.apache.ratis.thirdparty.io.netty.allocator.numDirectArenas=0

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivandika3 , thanks a lot for working on this!

+1 The change looks good.

@szetszwo szetszwo merged commit 06affdf into apache:master Nov 15, 2024
12 checks passed
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