[
https://issues.apache.org/jira/browse/FLINK-9894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548978#comment-16548978
]
ASF GitHub Bot commented on FLINK-9894:
---------------------------------------
Github user tison1 commented on the issue:
https://github.com/apache/flink/pull/6370
by analyses the use path of this method, we gain little on
`ensureCapacity`, in fact, test fails on #6353 is caused by too many
`ensureCapacity` and then `Array.copyOf` race each other.
> Potential Data Race
> -------------------
>
> Key: FLINK-9894
> URL: https://issues.apache.org/jira/browse/FLINK-9894
> Project: Flink
> Issue Type: Improvement
> Components: Local Runtime
> Affects Versions: 1.5.1
> Reporter: 陈梓立
> Assignee: 陈梓立
> Priority: Major
> Labels: pull-request-available
>
> CoLocationGroup#ensureConstraints
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)