Java options

JAVA_OPTIONS=“-server -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms1096m -Xmx1096m”

if [[ “gcprof” == “$1” ]]; then JAVA_OPTIONS=“$JAVA_OPTIONS -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps” shift fi

JVM GC

火焰图