You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
CentOS 7
RocketMQ version
5.3.1
JDK Version
OpenJDK 21
Describe the Bug
runbroker.sh set JAVA_OPT="${JAVA_OPT} -XX:-UseLargePages -XX:-UseBiasedLocking" , but JDK 21 no support it, and start broker failed.
after remove -XX:-UseBiasedLocking, start broker OK.
or add -XX:+IgnoreUnrecognizedVMOptions, start broker OK.
Steps to Reproduce
set JDK 21 JAVA_HOME
./bin/mqbroker
start failed: Unrecognized VM option 'UseBiasedLocking'
remove -XX:-UseBiasedLocking or add -XX:+IgnoreUnrecognizedVMOptions in bin/runmqbroker.sh or bin/runbroker.cmd
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
CentOS 7
RocketMQ version
5.3.1
JDK Version
OpenJDK 21
Describe the Bug
runbroker.sh set
JAVA_OPT="${JAVA_OPT} -XX:-UseLargePages -XX:-UseBiasedLocking"
, but JDK 21 no support it, and start broker failed.after remove
-XX:-UseBiasedLocking
, start broker OK.or add
-XX:+IgnoreUnrecognizedVMOptions
, start broker OK.Steps to Reproduce
-XX:-UseBiasedLocking
or add-XX:+IgnoreUnrecognizedVMOptions
in bin/runmqbroker.sh or bin/runbroker.cmdWhat Did You Expect to See?
start broker OK with JDK 21
What Did You See Instead?
Unrecognized VM option 'UseBiasedLocking'
Additional Context
https://stackoverflow.com/questions/74027869/unrecognized-vm-option-usebiasedlocking-error-could-not-create-the-java-virtu
The text was updated successfully, but these errors were encountered: