This commit is contained in:
aozhiwei 2020-02-04 14:43:39 +08:00
parent c63189b4ea
commit 80b92cff33
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
GAME_ID=1009
LOG4J2_FILE="conf/log4j2.xml"
JAR_NAME="lib/game-cross-1.0.jar"
if [ ! -f "bin/is_test_env" ]; then
JAVA_OPTS="-server -Xms512m -Xmx512m -Xmn128m -XX:SurvivorRatio=4 -XX:InitiatingHeapOccupancyPercent=75"
@ -7,7 +8,8 @@ else
fi
JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC -XX:+UseConcMarkSweepGC"
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError -Xloggc:logs/flash_gc_$(date +"%Y%m%d%H%M").log"
LOG4J2_FILE="conf/log4j2.xml"
JAVA_OPTS="$JAVA_OPTS -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector"
JAVA_OPTS="$JAVA_OPTS -Dlog4j.configurationFile=${LOG4J2_FILE}"
SOURCE_PATH="third_party/wjtx/trunk/"
PRE_COMPILE_CMD=""

2
third_party/tools vendored

@ -1 +1 @@
Subproject commit ee15a08727a3241e055f8b02611b80c1da8fc312
Subproject commit 7a560291e310bb85a4aa72d33017219cc5e7356c