[ https://issues.apache.org/jira/browse/SPARK-15246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277672#comment-15277672 ]
Apache Spark commented on SPARK-15246: -------------------------------------- User 'lianhuiwang' has created a pull request for this issue: https://github.com/apache/spark/pull/13020 > 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