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

Roman Maier commented on FLINK-5002:
------------------------------------

Here is a link to the commit:
https://github.com/MayerRoman/flink/commit/cacedd5f963dd4d405f940d92a0487fd5a1d1719

> Lack of synchronization in LocalBufferPool#getNumberOfUsedBuffers
> -----------------------------------------------------------------
>
>                 Key: FLINK-5002
>                 URL: https://issues.apache.org/jira/browse/FLINK-5002
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Roman Maier
>            Priority: Minor
>              Labels: easyfix, starter
>
> {code}
>   public int getNumberOfUsedBuffers() {
>     return numberOfRequestedMemorySegments - availableMemorySegments.size();
>   }
> {code}
> Access to availableMemorySegments should be protected with proper 
> synchronization as other methods do.



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

Reply via email to