You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/05/11 05:31:12 UTC
[jira] [Resolved] (SPARK-15246) Fix code style and improve
volatile for SPARK-4452
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org