zhichao-li created SPARK-6897:
---------------------------------

             Summary: 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]

Reply via email to