[jboss-cvs] JBoss Messaging SVN: r3918 - in projects/network-benchmark: lib and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Mar 22 08:25:24 EDT 2008


Author: trustin
Date: 2008-03-22 08:25:24 -0400 (Sat, 22 Mar 2008)
New Revision: 3918

Removed:
   projects/network-benchmark/lib/xerces-2.4.0.jar
Modified:
   projects/network-benchmark/build.xml
Log:
* Forking JVM seems to work without xerces
* Added some JVM options



Modified: projects/network-benchmark/build.xml
===================================================================
--- projects/network-benchmark/build.xml	2008-03-22 12:11:18 UTC (rev 3917)
+++ projects/network-benchmark/build.xml	2008-03-22 12:25:24 UTC (rev 3918)
@@ -16,7 +16,6 @@
        <pathelement location="lib/slf4j-api-1.4.3.jar"/>
        <pathelement location="lib/slf4j-log4j12.jar"/>
        <pathelement location="lib/log4j.jar"/>
-       <pathelement location="lib/xerces-2.4.0.jar"/>
     </path>
 
 	<target name="help" description="-> Display help">
@@ -38,18 +37,29 @@
 	<target name="server" depends="compile" description="-> Start servers">
 		<java classpathref="classpath" 
 			classname="network.AllInOneServer"
-		/>
+			fork="true">
+			<jvmarg value="-server"/>
+			<jvmarg value="-XX:+AggressiveOpts"/>
+			<jvmarg value="-XX:+UseBiasedLocking"/>
+			<jvmarg value="-XX:+UseFastAccessorMethods"/>
+			<jvmarg value="-XX:+UseLargePages"/>
+		</java>
 	</target>
 
 	<target name="test" depends="compile" description="-> Run the tests">
-	    <junit showoutput="true">
-	    	<classpath>
-	    		<path refid="classpath"/>
-	        </classpath>
-	    	<test name="network.NetworkClientTest">
-				<formatter type="brief" usefile="false"/>    	   
-	   	   </test>
-	      </junit>
+		<junit showoutput="true" fork="true">
+	    		<classpath>
+	    			<path refid="classpath"/>
+	        	</classpath>
+			<test name="network.NetworkClientTest">
+				<formatter type="brief" usefile="false"/>
+	   		</test>
+			<jvmarg value="-server"/>
+			<jvmarg value="-XX:+AggressiveOpts"/>
+			<jvmarg value="-XX:+UseBiasedLocking"/>
+			<jvmarg value="-XX:+UseFastAccessorMethods"/>
+			<jvmarg value="-XX:+UseLargePages"/>
+		</junit>
 	</target>
 	
     <target name="clean">

Deleted: projects/network-benchmark/lib/xerces-2.4.0.jar
===================================================================
(Binary files differ)




More information about the jboss-cvs-commits mailing list