aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/src/test
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-12-23 15:38:41 -0800
committerShixiong Zhu <shixiong@databricks.com>2016-12-23 15:38:41 -0800
commita848f0ba84e37fd95d0f47863ec68326e3296b33 (patch)
tree5e3c630e3e269e8c1132133617bda59fc5461bc4 /sql/hive/src/test
parent1311448ea8da38f9998f1ace79968af6e47d0278 (diff)
downloadspark-a848f0ba84e37fd95d0f47863ec68326e3296b33.tar.gz
spark-a848f0ba84e37fd95d0f47863ec68326e3296b33.tar.bz2
spark-a848f0ba84e37fd95d0f47863ec68326e3296b33.zip
[SPARK-18991][CORE] Change ContextCleaner.referenceBuffer to use ConcurrentHashMap to make it faster
## What changes were proposed in this pull request? The time complexity of ConcurrentHashMap's `remove` is O(1). Changing ContextCleaner.referenceBuffer's type from `ConcurrentLinkedQueue` to `ConcurrentHashMap's` will make the removal much faster. ## How was this patch tested? Jenkins Author: Shixiong Zhu <shixiong@databricks.com> Closes #16390 from zsxwing/SPARK-18991.
Diffstat (limited to 'sql/hive/src/test')
0 files changed, 0 insertions, 0 deletions