Skip to content

Delete local references as soon as possible in callbacks - #996

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

normanmaurer merged 1 commit into
mainfrom
local_callbacks

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

We should delete local references as soon as possible when in JNI callbacks to ensure we not run into stack size limits.

Modifications:

Explicit delete local references

Result:

Fixes #990

Motivation:

We should delete local references as soon as possible when in JNI callbacks to ensure we not run into stack size limits.

Modifications:

Explicit delete local references

Result:

Fixes #990
@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 requested a review from chrisvest August 10, 2026 13:11
@normanmaurer
normanmaurer merged commit 990751e into main Aug 11, 2026
10 checks passed
@normanmaurer
normanmaurer deleted the local_callbacks 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.

Possible local-reference accumulation in OpenSSL callbacks

1 participant