aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/resources
diff options
context:
space:
mode:
authorLianhui Wang <lianhuiwang09@gmail.com>2016-05-10 22:30:39 -0700
committerReynold Xin <rxin@databricks.com>2016-05-10 22:30:39 -0700
commit9f0a642f842df4d46f809c83df5e8b1803ab89a2 (patch)
tree23b3ecaeedd69c29cb8fd98adf3c2319e4ed028a /core/src/main/resources
parent1fbe2785dff53a9eae5f13809091de7520a1e1b2 (diff)
downloadspark-9f0a642f842df4d46f809c83df5e8b1803ab89a2.tar.gz
spark-9f0a642f842df4d46f809c83df5e8b1803ab89a2.tar.bz2
spark-9f0a642f842df4d46f809c83df5e8b1803ab89a2.zip
[SPARK-15246][SPARK-4452][CORE] Fix code style and improve volatile for
## What changes were proposed in this pull request? 1. Fix code style 2. remove 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. After this PR, I will push another PR for branch 1.6. ## How was this patch tested? unit tests Author: Lianhui Wang <lianhuiwang09@gmail.com> Closes #13020 from lianhuiwang/SPARK-4452-hotfix.
Diffstat (limited to 'core/src/main/resources')
0 files changed, 0 insertions, 0 deletions