You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lianhui Wang (JIRA)" <ji...@apache.org> on 2016/05/10 06:05:12 UTC
[jira] [Updated] (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 ]
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org