HashZhang opened a new issue #1870: Adopted OpenJDK 11
URL: https://github.com/apache/rocketmq/issues/1870
 
 
   Hi. We adopted RocketMQ with OpenJDK 11.0.4 (LTS) from version 4.5.0 to 
4.7.0 and have been running online for a long time. The JVM Parameters we are 
using is:
   
   ```
       JAVA_OPT="${JAVA_OPT} --add-exports 
java.base/jdk.internal.ref=ALL-UNNAMED -server -Xms8g -Xmx8g -Xmn4g"
       JAVA_OPT="${JAVA_OPT} -XX:+UseG1GC -XX:G1HeapRegionSize=16m 
-XX:G1ReservePercent=25 -XX:InitiatingHeapOccupancyPercent=30 
-XX:SoftRefLRUPolicyMSPerMB=0"
       JAVA_OPT="${JAVA_OPT} -verbose:gc 
-Xlog:gc*=info,safepoint=info:file=${GC_LOG_DIR}/rmq_broker_gc.log:utctime,level,tags:filecount=5,filesize=30M"
       JAVA_OPT="${JAVA_OPT} -XX:-OmitStackTraceInFastThrow"
       JAVA_OPT="${JAVA_OPT} -XX:+AlwaysPreTouch"
       JAVA_OPT="${JAVA_OPT} -XX:MaxDirectMemorySize=15g"
       JAVA_OPT="${JAVA_OPT} -XX:-UseLargePages -XX:-UseBiasedLocking"
       JAVA_OPT="${JAVA_OPT} 
--class-path=${JAVA_HOME}/jre/lib/ext/*:${BASE_DIR}/lib/*:${CLASSPATH}"
       #JAVA_OPT="${JAVA_OPT} -Xdebug 
-Xrunjdwp:transport=dt_socket,address=9555,server=y,suspend=n"
       JAVA_OPT="${JAVA_OPT} ${JAVA_OPT_EXT}"
   ```
   
   considering making JVM options a public parameter for user to switch between 
OpenJDK 8 and OpenJDK 11

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to