[jboss-cvs] JBossAS SVN: r95183 - branches/Branch_5_x/testsuite/imports.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 20 11:27:55 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-20 11:27:54 -0400 (Tue, 20 Oct 2009)
New Revision: 95183
Modified:
branches/Branch_5_x/testsuite/imports/server-config.xml
Log:
[JBAS-7248] Add simple hook to add JBoss Profiler via command line
Modified: branches/Branch_5_x/testsuite/imports/server-config.xml
===================================================================
--- branches/Branch_5_x/testsuite/imports/server-config.xml 2009-10-20 15:26:27 UTC (rev 95182)
+++ branches/Branch_5_x/testsuite/imports/server-config.xml 2009-10-20 15:27:54 UTC (rev 95183)
@@ -31,6 +31,17 @@
-->
<property name="jpda.cmdline" value="" />
+ <!-- Override with the settings for running JBoss Profiler. A minimal
+ example would be:
+
+ -agentlib:jbossAgent
+
+ For a 64 bit JVM this might be:
+
+ -agentlib:jbossAgent -d64
+ -->
+ <property name="jboss.profiler.cmdline" value="" />
+
<path id="jboss.client.classpath">
<fileset dir="${jboss.dist}/client"/>
</path>
@@ -752,12 +763,10 @@
<jvmarg value="-Xmx512m" />
<jvmarg value="-XX:MaxPermSize=256m" />
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError" />
- <!-- Uncomment to use JBoss Profiler to analyze heap. The
- -d64 argument may not be needed and definitely shouldn't
- be used if a non-64 bit JVM is used
- <jvmarg value="-agentlib:jbossAgent"/>
- <jvmarg value="-d64"/>
- -->
+ <!-- Use -D to set ${jboss.jvm.agentlib} to "-agentlib:jbossAgent" or
+ "-agentlib:jbossAgent -d64" to use JBoss Profiler to analyze heap
+ The default value is "" turning the following into a no-op -->
+ <jvmarg value="${jboss.profiler.cmdline}"/>
<sysproperty key="java.net.preferIPv4Stack" value="true" />
<sysproperty key="java.endorsed.dirs" value="${jboss.dist}/lib/endorsed" />
<sysproperty key="jgroups.udp.ip_ttl" value="${jbosstest.udp.ip_ttl}" />
@@ -768,12 +777,10 @@
<jvmarg value="-Xmx512m" />
<jvmarg value="-XX:MaxPermSize=256m" />
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError" />
- <!-- Uncomment to use JBoss Profiler to analyze heap. The
- -d64 argument may not be needed and definitely shouldn't
- be used if a non-64 bit JVM is used
- <jvmarg value="-agentlib:jbossAgent"/>
- <jvmarg value="-d64"/>
- -->
+ <!-- Use -D to set ${jboss.jvm.agentlib} to "-agentlib:jbossAgent" or
+ "-agentlib:jbossAgent -d64" to use JBoss Profiler to analyze heap
+ The default value is "" turning the following into a no-op -->
+ <jvmarg value="${jboss.profiler.cmdline}"/>
<sysproperty key="java.net.preferIPv4Stack" value="true" />
<sysproperty key="java.endorsed.dirs" value="${jboss.dist}/lib/endorsed" />
<sysproperty key="resolve.dns" value="false" />
@@ -783,6 +790,7 @@
<sysproperty key="jboss.partition.name" value="${partitionName}"/>
<sysproperty key="xb.builder.useUnorderedSequence" value="true" />
</server>
+ <!-- Note that on this node we don't run JBoss Profiler -->
<server name="cluster-classloader-leak-1" host="${node1}">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
More information about the jboss-cvs-commits
mailing list