File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 282
282
# JVM performance options
283
283
# MaxInlineLevel=15 is the default since JDK 14 and can be removed once older JDKs are no longer supported
284
284
if [ -z " $KAFKA_JVM_PERFORMANCE_OPTS " ]; then
285
- KAFKA_JVM_PERFORMANCE_OPTS=" -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 -Djava.awt.headless=true "
285
+ KAFKA_JVM_PERFORMANCE_OPTS=" -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15"
286
286
fi
287
287
288
288
while [ $# -gt 0 ]; do
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ IF ["%KAFKA_HEAP_OPTS%"] EQU [""] (
177
177
178
178
rem JVM performance options
179
179
IF [" %KAFKA_JVM_PERFORMANCE_OPTS% " ] EQU [" " ] (
180
- set KAFKA_JVM_PERFORMANCE_OPTS = -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true
180
+ set KAFKA_JVM_PERFORMANCE_OPTS = -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent
181
181
)
182
182
183
183
IF not defined CLASSPATH (
You can’t perform that action at this time.
0 commit comments