You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/04/14 10:40:12 UTC

[jira] [Commented] (SPARK-6897) Remove volatile from BlockingGenerator.currentBuffer

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org