arrow
返回

Interrupting snapshots and the Java™ size method

delete2012-07-01
delete2
delete
OA
AI
Y
Yehuda Afek
N
Nir Shavit *
M
Moran Tzafrir
DOI:10.1016/j.jpdc.2012.03.007delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
The Java (TM) m developers kit requires a size () operation for all objects, tracking the number of elements in the object. Unfortunately, the best known solution, available in the Java concurrency package, has a blocking concurrent implementation that does not scale. This paper presents a highly scalable wait-free implementation of a concurrent size () operation based on a new lock-free interrupting snapshots algorithm. The key idea behind the new algorithm is to allow snapshot scan methods to interrupt each other until they agree on a shared linearization point with respect to update methods. This contrasts sharply with past approaches to the classical atomic snapshot problem, that have had threads coordinate the collecting of a shared global view. As we show empirically, the new algorithm scales well, significantly outperforming existing implementations. (C) 2012 Elsevier Inc. All rights reserved.
Keyword:
Multicore algorithms
Java concurrency
Concurrent data-structures
Wait-free
Lock-free
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

T
Tel Aviv University
学者数:
3.7W
论文数: 3.0W
被引数: 3.6W