Skip to content
This repository
Browse code

bump up `ReservedCodeCacheSize` for 64bit jvm

  • Loading branch information...
commit d07d091f3c8f5b5400c6641c1595f54c82b9b225 1 parent 5275c48
Indrajit Raychaudhuri authored March 23, 2012

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  liftsh
  2. 2  liftsh.cmd
2  liftsh
@@ -9,7 +9,7 @@ fi
9 9
 INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCacheSize=96m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m"
10 10
 
11 11
 # Add 64bit specific option
12  
-exec java -version 2>&1 | grep -q "64-Bit" && INTERNAL_OPTS="${INTERNAL_OPTS} -XX:+UseCompressedOops"
  12
+exec java -version 2>&1 | grep -q "64-Bit" && INTERNAL_OPTS="${INTERNAL_OPTS} -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m"
13 13
 
14 14
 # Default options, if nothing is specified
15 15
 DEFAULT_OPTS=""
2  liftsh.cmd
@@ -6,7 +6,7 @@ set INTERNAL_OPTS=-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCache
6 6
 @REM Add 64bit specific option
7 7
 java -version 2>&1 | find "64-Bit" >nul:
8 8
 if not errorlevel 1 (
9  
-  set INTERNAL_OPTS=%INTERNAL_OPTS% -XX:+UseCompressedOops
  9
+  set INTERNAL_OPTS=%INTERNAL_OPTS% -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m
10 10
 )
11 11
 
12 12
 @REM Default options, if nothing is specified

0 notes on commit d07d091

Please sign in to comment.
Something went wrong with that request. Please try again.