Skip to content

Disable RewriteBytecodes on arm64: https://bugs.openjdk.org/browse/JDK-8369506#20

Merged
wendigo merged 2 commits into
airlift:masterfrom
wendigo:serafin/disable-bytecodes
Oct 15, 2025
Merged

Disable RewriteBytecodes on arm64: https://bugs.openjdk.org/browse/JDK-8369506#20
wendigo merged 2 commits into
airlift:masterfrom
wendigo:serafin/disable-bytecodes

Conversation

@wendigo

@wendigo wendigo commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@wendigo wendigo requested review from findepi and martint October 15, 2025 15:10
@wendigo

wendigo commented Oct 15, 2025

Copy link
Copy Markdown
Contributor Author

I've checked that:

repeated JVM flags are ok:

❯ java -XX:+RewriteBytecodes -XX:+RewriteBytecodes -XX:+PrintFlagsFinal -version | grep RewriteByte
     bool RewriteBytecodes                         = true                                   {pd product} {command line}
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode, sharing)

Last one wins:

❯ java -XX:+RewriteBytecodes -XX:-RewriteBytecodes -XX:+PrintFlagsFinal -version | grep RewriteByte
     bool RewriteBytecodes                         = false                                  {pd product} {command line}
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode, sharing)

Launcher adds its default flags after jvm.config so it wins.

@wendigo wendigo merged commit bb9eaca into airlift:master Oct 15, 2025
1 check passed
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.

2 participants