Repository: hbase
Updated Branches:
  refs/heads/branch-1 623249cf7 -> 3a0a3fd5f
  refs/heads/branch-1.1 d627c6f28 -> 975eaabad
  refs/heads/branch-1.2 b222a41c1 -> 8a996e341
  refs/heads/branch-1.3 a4dfc669f -> 29e0e7317


HBASE-18255 Set JVM code cache size in provided configuration (Vladimir 
Rodionov)

Java7 defaults to 50MB (which is likely too small) and 256MB in Java8/9.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/975eaaba
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/975eaaba
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/975eaaba

Branch: refs/heads/branch-1.1
Commit: 975eaabad0f90035bfab17be6606ca56359a97bf
Parents: d627c6f
Author: Josh Elser <[email protected]>
Authored: Wed Jul 5 16:53:00 2017 -0400
Committer: Josh Elser <[email protected]>
Committed: Wed Jul 5 16:53:00 2017 -0400

----------------------------------------------------------------------
 conf/hbase-env.cmd | 2 +-
 conf/hbase-env.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/975eaaba/conf/hbase-env.cmd
----------------------------------------------------------------------
diff --git a/conf/hbase-env.cmd b/conf/hbase-env.cmd
index 9fb87d7..2ffadbf 100644
--- a/conf/hbase-env.cmd
+++ b/conf/hbase-env.cmd
@@ -44,7 +44,7 @@ set HBASE_OPTS="-XX:+UseConcMarkSweepGC" 
"-Djava.net.preferIPv4Stack=true"
 
 @rem Configure PermSize. Only needed in JDK7. You can safely remove it for 
JDK8+
 set HBASE_MASTER_OPTS=%HBASE_MASTER_OPTS% "-XX:PermSize=128m" 
"-XX:MaxPermSize=128m"
-set HBASE_REGIONSERVER_OPTS=%HBASE_REGIONSERVER_OPTS% "-XX:PermSize=128m" 
"-XX:MaxPermSize=128m"
+set HBASE_REGIONSERVER_OPTS=%HBASE_REGIONSERVER_OPTS% "-XX:PermSize=128m" 
"-XX:MaxPermSize=128m" "-XX:ReservedCodeCacheSize=256m"
 
 @rem Uncomment below to enable java garbage collection logging for the 
server-side processes
 @rem this enables basic gc logging for the server processes to the .out file

http://git-wip-us.apache.org/repos/asf/hbase/blob/975eaaba/conf/hbase-env.sh
----------------------------------------------------------------------
diff --git a/conf/hbase-env.sh b/conf/hbase-env.sh
index b7d00d1..599a2f1 100644
--- a/conf/hbase-env.sh
+++ b/conf/hbase-env.sh
@@ -44,7 +44,7 @@ export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
 
 # Configure PermSize. Only needed in JDK7. You can safely remove it for JDK8+
 export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS -XX:PermSize=128m 
-XX:MaxPermSize=128m"
-export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -XX:PermSize=128m 
-XX:MaxPermSize=128m"
+export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -XX:PermSize=128m 
-XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=256m"
 
 # Uncomment one of the below three options to enable java garbage collection 
logging for the server-side processes.
 

Reply via email to