Skip to content

Commit

Permalink
Using Z1 GC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed May 17, 2024
1 parent ecd4c35 commit 0a86a8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/jgroups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ FLAGS="-server -Xmx1G -Xms500M -XX:+HeapDumpOnOutOfMemoryError"
#DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"

# SSL_FLAGS="-Djavax.net.debug=ssl:handshake"
Z1=-XX:+UseZGC

java -cp $CP $SSL_FLAGS $DEBUG $LOG $JG_FLAGS $FLAGS $JMX $JMC $*
java $Z1 -cp $CP $SSL_FLAGS $DEBUG $LOG $JG_FLAGS $FLAGS $JMX $JMC $*

0 comments on commit 0a86a8f

Please sign in to comment.