[
https://issues.apache.org/jira/browse/SPARK-6897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhichao-li closed SPARK-6897.
-----------------------------
Resolution: Won't Fix
May not have too much benefit for removing the volatile
> 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]