|
40 | 40 | ## G1GC Configuration |
41 | 41 | # NOTE: G1GC is only supported on JDK version 10 or later. |
42 | 42 | # To use G1GC uncomment the lines below. |
43 | | -# 10-:-XX:-UseConcMarkSweepGC |
44 | | -# 10-:-XX:-UseCMSInitiatingOccupancyOnly |
45 | | -# 10-:-XX:+UseG1GC |
46 | | -# 10-:-XX:InitiatingHeapOccupancyPercent=75 |
| 43 | +# 11-:-XX:-UseConcMarkSweepGC |
| 44 | +# 11-:-XX:-UseCMSInitiatingOccupancyOnly |
| 45 | +# 11-:-XX:+UseG1GC |
| 46 | +# 11-:-XX:InitiatingHeapOccupancyPercent=75 |
47 | 47 |
|
48 | 48 | ## DNS cache policy |
49 | 49 | # cache ttl in seconds for positive DNS lookups noting that this overrides the |
@@ -101,19 +101,8 @@ ${heap.dump.path} |
101 | 101 | # specify an alternative path for JVM fatal error logs |
102 | 102 | ${error.file} |
103 | 103 |
|
104 | | -## JDK 8 GC logging |
105 | | - |
106 | | -8:-XX:+PrintGCDetails |
107 | | -8:-XX:+PrintGCDateStamps |
108 | | -8:-XX:+PrintTenuringDistribution |
109 | | -8:-XX:+PrintGCApplicationStoppedTime |
110 | | -8:-Xloggc:${loggc} |
111 | | -8:-XX:+UseGCLogFileRotation |
112 | | -8:-XX:NumberOfGCLogFiles=32 |
113 | | -8:-XX:GCLogFileSize=64m |
114 | | - |
115 | | -# JDK 9+ GC logging |
116 | | -9-:-Xlog:gc*,gc+age=trace,safepoint:file=${loggc}:utctime,pid,tags:filecount=32,filesize=64m |
| 104 | +# GC logging |
| 105 | +-Xlog:gc*,gc+age=trace,safepoint:file=${loggc}:utctime,pid,tags:filecount=32,filesize=64m |
117 | 106 | # due to internationalization enhancements in JDK 9 Elasticsearch need to set the provider to COMPAT otherwise |
118 | 107 | # time/date parsing will break in an incompatible way for some date patterns and locals |
119 | | -9-:-Djava.locale.providers=COMPAT |
| 108 | +-Djava.locale.providers=COMPAT |
0 commit comments