Skip to content

[improve] Adapt startup scripts for Java 24 changes #24236

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

Merged
merged 3 commits into from
May 3, 2025

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented May 2, 2025

Motivation

Adapt startup scripts for these Java 24 changes:

Adapt to JEP 498 and JEP 471 related Netty 4.1.121.Final change:

Modifications

  • pass --sun-misc-unsafe-memory-access=allow on Java 23+
  • pass -XX:+ZGenerational only on Java 21 or Java 22 by default
  • pass --enable-native-access=ALL-UNNAMED in bin/pulsar and bin/bookkeeper, this option is supported also on Java 17

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari merged commit 7e67290 into apache:master May 3, 2025
52 of 53 checks passed
lhotari added a commit that referenced this pull request May 5, 2025
lhotari added a commit that referenced this pull request May 5, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request May 8, 2025
(cherry picked from commit 7e67290)
(cherry picked from commit 18c3c92)
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request May 8, 2025
(cherry picked from commit 7e67290)
(cherry picked from commit 18c3c92)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 14, 2025
(cherry picked from commit 7e67290)
(cherry picked from commit 18c3c92)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants