You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by ag...@apache.org on 2017/10/29 22:34:35 UTC
svn commit: r1813711 - in /jmeter/trunk/bin: jmeter jmeter.bat
Author: agomes
Date: Sun Oct 29 22:34:35 2017
New Revision: 1813711
URL: http://svn.apache.org/viewvc?rev=1813711&view=rev
Log:
Bug 61529 - Migration to Java 9 : New syntax for GC log
Modified:
jmeter/trunk/bin/jmeter
jmeter/trunk/bin/jmeter.bat
Modified: jmeter/trunk/bin/jmeter
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter?rev=1813711&r1=1813710&r2=1813711&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter (original)
+++ jmeter/trunk/bin/jmeter Sun Oct 29 22:34:35 2017
@@ -125,7 +125,11 @@ PRGDIR=`dirname "$PRG"`
# system's memory availability:
HEAP="-Xms512m -Xmx512m -XX:MaxMetaspaceSize=256m"
-#VERBOSE_GC="-verbose:gc -Xloggc:gc_jmeter_%p.log -XX:+PrintGCDetails -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintHeapAtGC -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps"
+# Uncomment this to generate GC verbose file with Java prior to 9
+# VERBOSE_GC="-verbose:gc -Xloggc:gc_jmeter_%p.log -XX:+PrintGCDetails -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintHeapAtGC -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps"
+
+# Uncomment this to generate GC verbose file with Java 9 and above
+# VERBOSE_GC="-Xlog:gc*,gc+age=trace,gc+heap=debug:file=gc_jmeter_%p.log"
# Finally, some tracing to help in case things go astray:
GC_ALGO="-XX:+UseG1GC -XX:MaxGCPauseMillis=250 -XX:G1ReservePercent=20"
Modified: jmeter/trunk/bin/jmeter.bat
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.bat?rev=1813711&r1=1813710&r2=1813711&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter.bat (original)
+++ jmeter/trunk/bin/jmeter.bat Sun Oct 29 22:34:35 2017
@@ -93,9 +93,13 @@ rem See the unix startup file for the ra
rem including some tuning recommendations
set HEAP=-Xms512m -Xmx512m -XX:MaxMetaspaceSize=256m
-rem Uncomment this to generate GC verbose file
+rem Uncomment this to generate GC verbose file with Java prior to 9
rem set VERBOSE_GC=-verbose:gc -Xloggc:gc_jmeter_%%p.log -XX:+PrintGCDetails -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintHeapAtGC -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps
+rem Uncomment this to generate GC verbose file with Java 9 and above
+rem set VERBOSE_GC=-Xlog:gc*,gc+age=trace,gc+heap=debug:file=gc_jmeter_%%p.log
+
+
set GC_ALGO=-XX:+UseG1GC -XX:MaxGCPauseMillis=250 -XX:G1ReservePercent=20
set SYSTEM_PROPS=-Djava.security.egd=file:/dev/urandom