Use -XX:+ExplicitGCInvokesConcurrent by default. patch by scode; reviewed by goffinet for CASSANDRA-3675
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/4f4aa4fb Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/4f4aa4fb Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/4f4aa4fb Branch: refs/heads/cassandra-1.1 Commit: 4f4aa4fb9ea5a9bf075c0035c442005e41385532 Parents: e36b213 Author: Chris Goffinet <c...@chrisgoffinet.com> Authored: Sun Feb 5 20:14:14 2012 -0800 Committer: Chris Goffinet <c...@chrisgoffinet.com> Committed: Sun Feb 5 20:14:14 2012 -0800 ---------------------------------------------------------------------- CHANGES.txt | 2 +- conf/cassandra-env.sh | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/4f4aa4fb/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index bdf7f57..69b0f7c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -64,7 +64,7 @@ (CASSANDRA-3483) * respect not only row cache capacity but caching mode when trying to read data (CASSANDRA-3812) - + * Use -XX:+ExplicitGCInvokesConcurrent by default. (CASSANDRA-3675) 1.0.8 * Log active compactions in StatusLogger (CASSANDRA-3703) http://git-wip-us.apache.org/repos/asf/cassandra/blob/4f4aa4fb/conf/cassandra-env.sh ---------------------------------------------------------------------- diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh index f6416cf..1bd8c05 100644 --- a/conf/cassandra-env.sh +++ b/conf/cassandra-env.sh @@ -161,6 +161,7 @@ JVM_OPTS="$JVM_OPTS -XX:SurvivorRatio=8" JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThreshold=1" JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75" JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly" +JVM_OPTS="$JVM_OPTS -XX:+ExplicitGCInvokesConcurrent" # GC logging options -- uncomment to enable # JVM_OPTS="$JVM_OPTS -XX:+PrintGCDetails"