Jun Rao created KAFKA-2514: ------------------------------ Summary: change default JVM options in kafka-run-class.sh Key: KAFKA-2514 URL: https://issues.apache.org/jira/browse/KAFKA-2514 Project: Kafka Issue Type: Improvement Components: config Reporter: Jun Rao Priority: Blocker Fix For: 0.8.3
Since we have stopped supporting java 6, we should improve the default jvm options. For example, we should probably change the following to G1 collectors. if [ -z "$KAFKA_JVM_PERFORMANCE_OPTS" ]; then KAFKA_JVM_PERFORMANCE_OPTS="-server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true" fi -- This message was sent by Atlassian JIRA (v6.3.4#6332)