cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [02/10] git commit: Add CMSClassUnloadingEnabled JVM option Patch by Jonathan Lacefield, reviewed by brandonwilliams for CASSANDRA-6541
Date Fri, 28 Feb 2014 21:18:43 GMT
Add CMSClassUnloadingEnabled JVM option
Patch by Jonathan Lacefield, reviewed by brandonwilliams for
CASSANDRA-6541


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

Branch: refs/heads/cassandra-2.0
Commit: f08ae394f0a3ab31260eb0a808160663a857f796
Parents: e5b92d8
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Fri Feb 28 15:11:50 2014 -0600
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Feb 28 15:11:50 2014 -0600

----------------------------------------------------------------------
 CHANGES.txt           | 1 +
 conf/cassandra-env.sh | 3 +++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f08ae394/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 53da840..780b528 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 1.2.16
+ * Add CMSClassUnloadingEnabled JVM option (CASSANDRA-6541)
  * Catch memtable flush exceptions during shutdown (CASSANDRA-6735)
  * Don't attempt cross-dc forwarding in mixed-version cluster with 1.1 
    (CASSANDRA-6732)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/f08ae394/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index af996ef..aa4c3dd 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -160,6 +160,9 @@ then
     JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jamm-0.2.5.jar"
 fi
 
+# some JVMs will fill up their heap when accessed via JMX, see CASSANDRA-6541
+JVM_OPTS="$JVM_OPTS -XX:+CMSClassUnloadingEnabled"
+
 # enable thread priorities, primarily so we can give periodic tasks
 # a lower priority to avoid interfering with client workload
 JVM_OPTS="$JVM_OPTS -XX:+UseThreadPriorities"


Mime
View raw message