Skip to content

Delete local references while processing the loop to fill the singature algorithms - #995

Merged
normanmaurer merged 1 commit into
mainfrom
delete_local
Aug 11, 2026
Merged

normanmaurer merged 1 commit into
mainfrom
delete_local

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

The number of the signature algorithms are dictated by the remote peer and so we should ensure we not "overflow" the local stack when creating local references in the JNI layer.

Modifications:

Delete the local reference the the string as soon as we dont need it anymore

Result:

Fixes #994

…re algorithms

Motivation:

The number of the signature algorithms are dictated by the remote peer and so we should ensure we not "overflow" the local stack when creating local references in the JNI layer.

Modifications:

Delete the local reference the the string as soon as we dont need it anymore

Result:

Fixes #994
@normanmaurer

Copy link
Copy Markdown
Member Author

/cc @K-ANOY

@normanmaurer normanmaurer added this to the 2.0.81.Final milestone Aug 10, 2026
@normanmaurer
normanmaurer merged commit 2e39099 into main Aug 11, 2026
10 checks passed
@normanmaurer
normanmaurer deleted the delete_local branch August 11, 2026 09:25
dongjoon-hyun added a commit to apache/spark that referenced this pull request Sep 4, 2026
### What changes were proposed in this pull request?

This PR aims to upgrade `netty-tcnative` to 2.0.83.Final.

### Why are the changes needed?

To bring the latest bug fixes.
- https://github.com/netty/netty-tcnative/releases/tag/netty-tcnative-parent-2.0.83.Final (2026-08-29)
  - netty/netty-tcnative#1001
- https://github.com/netty/netty-tcnative/releases/tag/netty-tcnative-parent-2.0.82.Final (2026-08-28)
  - netty/netty-tcnative#995
  - netty/netty-tcnative#996
  - netty/netty-tcnative#997
  - netty/netty-tcnative#999

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 5

Closes #58528 from dongjoon-hyun/SPARK-59259.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
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.

getSigAlgs() does not delete the jstring references it creates, and the count is peer-controlled

1 participant