diff --git a/build.xml b/build.xml index 5ddf40d00d..d151431048 100644 --- a/build.xml +++ b/build.xml @@ -426,7 +426,7 @@ - + diff --git a/conf/cassandra-env.ps1 b/conf/cassandra-env.ps1 index 8c4311cfbf..9373ba6b06 100644 --- a/conf/cassandra-env.ps1 +++ b/conf/cassandra-env.ps1 @@ -350,15 +350,6 @@ Function SetCassandraEnvironment #$env:HEAP_NEWSIZE="800M" CalculateHeapSizes - # Direct memory used for native-protocol network I/O is no longer - # managed by the JVM. Instead, Netty allows three options to - # manage it via the system property io.netty.maxDirectMemory: - # == 0 behavior as before, uses JVM to manage direct memory (slowest). - # < 0 manages direct memory directly, max direct memory as -XX:MaxDirectMemorySize. - # > 0 manages direct memory directly, max direct memory as specified. - # Note, that appreviations like 2g or 500m are NOT accepted. - #$env:JVM_OPTS="$env:JVM_OPTS -Dio.netty.maxDirectMemory=2147483648" - ParseJVMInfo # We only set -Xms and -Xmx if they were not defined on jvm.options file diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh index 6d5de213bd..93434c9d60 100644 --- a/conf/cassandra-env.sh +++ b/conf/cassandra-env.sh @@ -167,15 +167,6 @@ USING_G1=$? # Set this to control the amount of arenas per-thread in glibc #export MALLOC_ARENA_MAX=4 -# Direct memory used for native-protocol network I/O is no longer -# managed by the JVM. Instead, Netty allows three options to -# manage it via the system property io.netty.maxDirectMemory: -# == 0 behavior as before, uses JVM to manage direct memory (slowest). -# < 0 manages direct memory directly, max direct memory as -XX:MaxDirectMemorySize. -# > 0 manages direct memory directly, max direct memory as specified. -# Note, that appreviations like 2g or 500m are NOT accepted. -#export JVM_OPTS="$JVM_OPTS -Dio.netty.maxDirectMemory=2147483648" - # only calculate the size if it's not set manually if [ "x$MAX_HEAP_SIZE" = "x" ] && [ "x$HEAP_NEWSIZE" = "x" -o $USING_G1 -eq 0 ]; then calculate_heap_sizes diff --git a/lib/licenses/netty-all-4.0.37.Final.txt b/lib/licenses/netty-all-4.0.36.Final.txt similarity index 100% rename from lib/licenses/netty-all-4.0.37.Final.txt rename to lib/licenses/netty-all-4.0.36.Final.txt diff --git a/lib/netty-all-4.0.37.Final.jar b/lib/netty-all-4.0.36.Final.jar similarity index 69% rename from lib/netty-all-4.0.37.Final.jar rename to lib/netty-all-4.0.36.Final.jar index f0bcdac1b1..5e278c4dbe 100644 Binary files a/lib/netty-all-4.0.37.Final.jar and b/lib/netty-all-4.0.36.Final.jar differ