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

Clear the deflater's byte array reference #1611

Closed
wants to merge 1 commit into from

Conversation

squarejesse
Copy link
Contributor

Even though the content of this array isn't read, it looks like deflater may still interfere by making a pair of calls to GetPrimitiveArrayCritical + ReleasePrimitiveArrayCritical.

Closes: #1608

Even though the content of this array isn't read, it looks like
deflater may still interfere by making a pair of calls to
GetPrimitiveArrayCritical + ReleasePrimitiveArrayCritical.

Closes: #1608
@swankjesse swankjesse deleted the jwilson.0330.deflater_ref branch March 31, 2025 00:03
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.

DeflaterSink may use the same buffer for both input and output to Java's Deflater.deflate() call
1 participant