[ 
https://issues.apache.org/jira/browse/SPARK-15246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynold Xin resolved SPARK-15246.
---------------------------------
       Resolution: Fixed
         Assignee: Lianhui Wang
    Fix Version/s: 2.0.0

>  Fix code style and improve volatile for SPARK-4452
> ---------------------------------------------------
>
>                 Key: SPARK-15246
>                 URL: https://issues.apache.org/jira/browse/SPARK-15246
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.0.0
>            Reporter: Lianhui Wang
>            Assignee: Lianhui Wang
>             Fix For: 2.0.0
>
>
> for SPARK-4452
> 1. Fix code style
> 2. remote volatile of elementsRead method because there is only one thread to 
> use it.
> 3. avoid volatile of _elementsRead because Collection increases number of 
> _elementsRead when it insert a element. It is very expensive. So we can avoid 
> it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to