Skip to content

Ensure Arena.ofShared() is usable before assuming that we can use Are…#15877

Merged
normanmaurer merged 1 commit into
4.2from
arena_test
Nov 18, 2025
Merged

Ensure Arena.ofShared() is usable before assuming that we can use Are…#15877
normanmaurer merged 1 commit into
4.2from
arena_test

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

…nas on JDK25

Motivation:

Arena.ofShared() is disabled by default on GraalVM 25.0.0 so we can't assume that we can use it by default.

Modifications:

Try to use ofShared() and if it fails don't use Arena's at all

Result:

Fixes #15762

…nas on JDK25

Motivation:

Arena.ofShared() is disabled by default on GraalVM 25.0.0 so we can't assume that we can use it by default.

Modifications:

Try to use ofShared() and if it fails don't use Arena's at all

Result:

Fixes #15762
@normanmaurer normanmaurer added this to the 4.2.8.Final milestone Nov 18, 2025
@normanmaurer normanmaurer added the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Nov 18, 2025
@normanmaurer normanmaurer merged commit 98ef8b9 into 4.2 Nov 18, 2025
16 of 20 checks passed
@normanmaurer normanmaurer deleted the arena_test branch November 18, 2025 14:54
normanmaurer added a commit that referenced this pull request Nov 18, 2025
#15877)

…nas on JDK25

Motivation:

Arena.ofShared() is disabled by default on GraalVM 25.0.0 so we can't
assume that we can use it by default.

Modifications:

Try to use ofShared() and if it fails don't use Arena's at all

Result:

Fixes #15762
normanmaurer added a commit that referenced this pull request Nov 19, 2025
#15882)

…… (#15877)

…nas on JDK25

Motivation:

Arena.ofShared() is disabled by default on GraalVM 25.0.0 so we can't
assume that we can use it by default.

Modifications:

Try to use ofShared() and if it fails don't use Arena's at all

Result:

Fixes #15762
adamdickmeiss added a commit to indexdata/reservoir that referenced this pull request Dec 16, 2025
It is longer needed
netty/netty#15877
which was fixed in Netty 4.2.8 release.
adamdickmeiss added a commit to indexdata/reservoir that referenced this pull request Dec 16, 2025
It is longer needed
netty/netty#15877
which was fixed in Netty 4.2.8 release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to use netty with graalvm 25.0.0 if Arena.ofShared is disabled

3 participants