This is an automated email from the ASF dual-hosted git repository.
sewen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 956c9ed [hotfix][scripts] Fix comment for default GC configuration
956c9ed is described below
commit 956c9ed08378f550e021d2ffa4d1ec144a047764
Author: Stephan Ewen <[email protected]>
AuthorDate: Fri Feb 21 17:24:23 2020 +0100
[hotfix][scripts] Fix comment for default GC configuration
---
flink-dist/src/main/flink-bin/bin/taskmanager.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/flink-dist/src/main/flink-bin/bin/taskmanager.sh
b/flink-dist/src/main/flink-bin/bin/taskmanager.sh
index 7f8bdc0..176326a 100755
--- a/flink-dist/src/main/flink-bin/bin/taskmanager.sh
+++ b/flink-dist/src/main/flink-bin/bin/taskmanager.sh
@@ -38,8 +38,7 @@ ENTRYPOINT=taskexecutor
if [[ $STARTSTOP == "start" ]] || [[ $STARTSTOP == "start-foreground" ]]; then
- # if memory allocation mode is lazy and no other JVM options are set,
- # set the 'Concurrent Mark Sweep GC'
+ # if no other JVM options are set, set the GC to G1
if [ -z "${FLINK_ENV_JAVA_OPTS}" ] && [ -z "${FLINK_ENV_JAVA_OPTS_TM}" ];
then
export JVM_ARGS="$JVM_ARGS -XX:+UseG1GC"
fi