Merge pull request #11735 from pickypg/feature/use-gc-datestamps-11733
Add -XX:+PrintGCDateStamps when using GC Logs
This commit is contained in:
commit
15ea07f8c0
|
@ -64,6 +64,7 @@ if "%ES_GC_LOG_FILE%" == "" goto nogclog
|
||||||
:gclog
|
:gclog
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCDetails
|
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCDetails
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCTimeStamps
|
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCTimeStamps
|
||||||
|
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCDateStamps
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintClassHistogram
|
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintClassHistogram
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintTenuringDistribution
|
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintTenuringDistribution
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCApplicationStoppedTime
|
set JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCApplicationStoppedTime
|
||||||
|
|
|
@ -48,6 +48,7 @@ JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
|
||||||
if [ -n "$ES_GC_LOG_FILE" ]; then
|
if [ -n "$ES_GC_LOG_FILE" ]; then
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
|
||||||
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDateStamps"
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
|
||||||
|
|
Loading…
Reference in New Issue