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

Lianhui Wang updated SPARK-15246:
---------------------------------
    Summary:  Fix code style and improve volatile for SPARK-4452  (was:  Fix 
code style and improve volatile for Spillable)

>  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
>
> 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