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 internalNioBuffer(...) when possible to reduce object creation #13499

Merged
merged 1 commit into from Jul 20, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

We should try to use internalNioBuffer(...) if possible to reduce the object creation.

Modifications:

Call internalNioBuffer which might be able to re-use the previous created ByteBuffer

Result:

Less object creation during compression

Motivation:

We should try to use internalNioBuffer(...) if possible to reduce the object creation.

Modifications:

Call internalNioBuffer which might be able to re-use the previous created ByteBuffer

Result:

Less object creation during compression
@normanmaurer
Copy link
Member Author

/cc @hyperxpro ... noticed this will working on another PR

@normanmaurer normanmaurer added this to the 4.1.95.Final milestone Jul 19, 2023
@hyperxpro
Copy link
Contributor

Heck, all JVMs crashed?

@normanmaurer normanmaurer merged commit ae079d1 into 4.1 Jul 20, 2023
9 of 14 checks passed
@normanmaurer normanmaurer deleted the reduce_gc branch July 20, 2023 06:39
@chrisvest
Copy link
Contributor

Looks like previous build got cancelled. Rerunning.

@chrisvest
Copy link
Contributor

All builds passed this time.

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.

None yet

3 participants