[ 
https://issues.apache.org/jira/browse/FLINK-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623841#comment-14623841
 ] 

Stephan Ewen commented on FLINK-2343:
-------------------------------------

Sounds like a good list of arguments.

Is G1 also available in JDK7, and is it stable there as well? Should me make 
the G1 the default in JDK8, and CMS the default in JDK7?

The reason is that we have quite a few users on Java 7, and I would not want to 
break their setups.

> Change default garbage collector in streaming environments
> ----------------------------------------------------------
>
>                 Key: FLINK-2343
>                 URL: https://issues.apache.org/jira/browse/FLINK-2343
>             Project: Flink
>          Issue Type: Improvement
>          Components: Start-Stop Scripts
>    Affects Versions: 0.10
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>             Fix For: 0.10
>
>
> When starting Flink, we don't pass any particular GC related JVM flags to the 
> system. That means, it uses the default garbage collectors, which are the 
> bulk parallel GCs for both old gen and new gen.
> For streaming applications, this results in vastly fluctuating latencies. 
> Latencies are much more constant with either the {{CMS}} or {{G1}} GC.
> I propose to make the CMS the default GC for streaming setups.
> G1 may become the GC of choice in the future, but fro various articles I 
> found, it is still somewhat in "beta" status (see for example here: 
> http://jaxenter.com/kirk-pepperdine-on-the-g1-for-java-9-118190.html )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to