activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1291528 - in /activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin: apollo apollo.cmd
Date Mon, 20 Feb 2012 23:50:48 GMT
Author: chirino
Date: Mon Feb 20 23:50:48 2012
New Revision: 1291528

URL: http://svn.apache.org/viewvc?rev=1291528&view=rev
Log:
Use the -XX:-UseBiasedLocking JVM option by default.

Modified:
    activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo
    activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd

Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo?rev=1291528&r1=1291527&r2=1291528&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo (original)
+++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo Mon Feb 20 23:50:48
2012
@@ -120,7 +120,7 @@ if $cygwin; then
 fi
 
 if [ -z "$JVM_FLAGS" ] ; then
-  JVM_FLAGS="-server -Xmx1G"
+  JVM_FLAGS="-server -Xmx1G -XX:-UseBiasedLocking"
 fi
 
 if [ "$APOLLO_ASSERTIONS" != "false" ] ; then

Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd?rev=1291528&r1=1291527&r2=1291528&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd (original)
+++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd Mon Feb 20
23:50:48 2012
@@ -52,7 +52,7 @@ set CLASSPATH=%APOLLO_HOME%\lib\apollo-b
 set BOOTDIRS=%APOLLO_HOME%\lib
 if NOT "x%APOLLO_BASE%" == "x" set BOOTDIRS=%APOLLO_BASE%\lib:%BOOTDIRS%
 
-if "%JVM_FLAGS%" == "" set JVM_FLAGS=-server -Xmx1G
+if "%JVM_FLAGS%" == "" set JVM_FLAGS=-server -Xmx1G -XX:-UseBiasedLocking
 
 if "%APOLLO_ASSERTIONS%"=="false" goto noAPOLLO_ASSERTIONS
   set JVM_FLAGS=-ea %JVM_FLAGS%



Mime
View raw message