[
https://issues.apache.org/jira/browse/SPARK-6897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493800#comment-14493800
]
Apache Spark commented on SPARK-6897:
-------------------------------------
User 'zhichao-li' has created a pull request for this issue:
https://github.com/apache/spark/pull/5508
> Remove volatile from BlockingGenerator.currentBuffer
> ----------------------------------------------------
>
> Key: SPARK-6897
> URL: https://issues.apache.org/jira/browse/SPARK-6897
> Project: Spark
> Issue Type: Improvement
> Components: Streaming
> Reporter: zhichao-li
> Priority: Trivial
>
> It would introduce extra performance overhead if we double use volatile and
> synchronized to guard the same resource(BlockingGenerator.currentBuffer).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]