You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by dj...@apache.org on 2010/04/08 23:23:46 UTC
svn commit: r932121 - /buildr/trunk/all-in-one/buildr
Author: djspiewak
Date: Thu Apr 8 21:23:46 2010
New Revision: 932121
URL: http://svn.apache.org/viewvc?rev=932121&view=rev
Log:
Added unsafe optimizations and explicit -client mode for all-in-one distribution
Modified:
buildr/trunk/all-in-one/buildr
Modified: buildr/trunk/all-in-one/buildr
URL: http://svn.apache.org/viewvc/buildr/trunk/all-in-one/buildr?rev=932121&r1=932120&r2=932121&view=diff
==============================================================================
--- buildr/trunk/all-in-one/buildr (original)
+++ buildr/trunk/all-in-one/buildr Thu Apr 8 21:23:46 2010
@@ -260,6 +260,12 @@ if [[ $darwin && -z "$JAVA_ENCODING" ]];
java_args=("${java_args[@]}" "-Dfile.encoding=UTF-8")
fi
+# Force -client mode for Buildr
+JAVA_VM=-client
+
+# Add unsafe optimizations known to be sound for Buildr
+JAVA_OPTS="$JAVA_OPTS -Djruby.compile.frameless=true -Djruby.compile.positionless=true -Djruby.compile.threadless=true -Djruby.compile.fastops=true"
+
# Add a property to report memory max
JAVA_OPTS="$JAVA_OPTS $JAVA_VM -Djruby.memory.max=${JAVA_MEM:4} -Djruby.stack.max=${JAVA_STACK:4}"