OpenSearch/distribution
Jason Tedor 6c7374804f
Extend JVM options to support multiple versions
JDK 9 has removed JVM options that were valid in JDK 8 (e.g., GC logging
flags) and replaced them with new flags that are not available in JDK
8. This means that a single JVM options file can no longer apply to JDK
8 and JDK 9, complicating development, complicating our packaging story,
and complicating operations. This commit extends the JVM options syntax
to specify the range of versions the option applies to. If the running
JVM matches the range of versions, the flag will be used to start the
JVM otherwise the flag will be ignored.

We implement this parser in Java for simplicity, and with this we start
our first step towards a Java launcher.

Relates #27675
2017-12-06 18:03:13 -05:00
..
bwc Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
deb Rename CONF_DIR to ES_PATH_CONF 2017-08-15 06:19:06 +09:00
integ-test-zip Enable GC logs by default 2017-12-03 08:33:21 -05:00
rpm Rename CONF_DIR to ES_PATH_CONF 2017-08-15 06:19:06 +09:00
src/main Extend JVM options to support multiple versions 2017-12-06 18:03:13 -05:00
tar Enable GC logs by default 2017-12-03 08:33:21 -05:00
tools Extend JVM options to support multiple versions 2017-12-06 18:03:13 -05:00
zip Enable GC logs by default 2017-12-03 08:33:21 -05:00
build.gradle Extend JVM options to support multiple versions 2017-12-06 18:03:13 -05:00