OpenSearch/distribution/tools/launchers/src
Daniel Mitterdorfer 2aefb72891
Choose JVM options ergonomically
With this commit we add the possibility to define further JVM options (and
system properties) based on the current environment. As a proof of concept, it
chooses Netty's allocator ergonomically based on the maximum defined heap size.
We switch to the unpooled allocator at 1GB heap size (value determined
experimentally, see #30684 for more details). We are also explicit about the
choice of the allocator in either case.

Relates #30684
2018-06-20 13:12:56 +02:00
..
main/java/org/elasticsearch/tools/launchers Choose JVM options ergonomically 2018-06-20 13:12:56 +02:00
test/java/org/elasticsearch/tools/launchers Choose JVM options ergonomically 2018-06-20 13:12:56 +02:00