Selaa lähdekoodia

Removing io.netty.allocator.numDirectArenas override. (#76593)

This flag has already been removed by ES on Oct 21, 2019 after they created their own allocator: https://github.com/elastic/elasticsearch/commit/547e399dbfb493ab4b813ec528b969ed42207ab7
However, in parallel, on Oct 28, 2019 all command line flags were moved from jvm.options file into the launcher, and this option has been re-introduced: https://github.com/elastic/elasticsearch/commit/c4fbda3310c717252a45e895305f47a5092e62c4

See original commit from Oct 21 for the reasoning on why this flag is not needed anymore.
Andrii Nikitiuk 3 vuotta sitten
vanhempi
commit
4d3d0b434c

+ 0 - 1
distribution/tools/launchers/src/main/java/org/elasticsearch/tools/launchers/SystemJvmOptions.java

@@ -50,7 +50,6 @@ final class SystemJvmOptions {
             "-Dio.netty.noUnsafe=true",
             "-Dio.netty.noKeySetOptimization=true",
             "-Dio.netty.recycler.maxCapacityPerThread=0",
-            "-Dio.netty.allocator.numDirectArenas=0",
             // log4j 2
             "-Dlog4j.shutdownHookEnabled=false",
             "-Dlog4j2.disable.jmx=true",