Skip to content

Commit

Permalink
Only install jamm if setup requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain GÉRARD committed Nov 16, 2017
1 parent a9c7c74 commit e34b4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/cassandra-env.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fi
# provides hints to the JIT compiler
JVM_OPTS="$JVM_OPTS -XX:CompileCommandFile=$CASSANDRA_CONF/hotspot_compiler"

<% if node['cassandra']['jamm']['version'] -%>
<% if node['cassandra']['setup_jamm'] -%>
# add the jamm javaagent
if [ "$JVM_VENDOR" != "OpenJDK" -o "$JVM_VERSION" \> "1.6.0" ] \
|| [ "$JVM_VERSION" = "1.6.0" -a "$JVM_PATCH_VERSION" -ge 23 ]
Expand Down

0 comments on commit e34b4df

Please sign in to comment.