Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Right now `ContextCleaner.referenceBuffer` is ConcurrentLinkedQueue and the time complexity of the `remove` action is O ( n ). It can be changed to use ConcurrentHashMap whose `remove` is O(1).
Attachments
Issue Links
- contains
-
SPARK-21547 Spark cleaner cost too many time
- Resolved
- links to