diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2016-12-23 15:38:41 -0800 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-12-23 15:38:41 -0800 |
commit | a848f0ba84e37fd95d0f47863ec68326e3296b33 (patch) | |
tree | 5e3c630e3e269e8c1132133617bda59fc5461bc4 /sql/hive/src | |
parent | 1311448ea8da38f9998f1ace79968af6e47d0278 (diff) | |
download | spark-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')
0 files changed, 0 insertions, 0 deletions