Skip to content

Commit

Permalink
Allow telemetry devices use jvm.options instead of ES_JAVA_OPTS (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebadyano authored and danielmitterdorfer committed Aug 13, 2019
1 parent ad1868f commit d334fa8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cars/v1/vanilla/templates/config/jvm.options
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@
#-XX:NumberOfGCLogFiles=32
#-XX:GCLogFileSize=128M

{# JVM settings provided by the user via the command line #}
{%- if additional_jvm_settings is defined %}
{%- for jvm_setting in additional_jvm_settings %}
{{jvm_setting}}
# temporary workaround for C2 bug with JDK 10 on hardware with AVX-512
10-:-XX:UseAVX=2

{%- if additional_java_settings is defined %}
{%- for value in additional_java_settings %}
{{value}}
{%- endfor %}
{%- endif %}

0 comments on commit d334fa8

Please sign in to comment.