이 논문의 한국어 번역이 자동 검사를 통과하지 못해 영어 원문을 표시합니다. 번역 수정에 참여해 주세요.

Concurrent Reference Counting and Resource Management in Wait-free Constant Time

arXiv:2002.07053 최초 게시 2020-02-17 v2 피인용 8
이 논문 인용 ×
BibTeX
@misc{blelloch2020concurrent,
  title = {Concurrent Reference Counting and Resource Management in Wait-free Constant Time},
  author = {Guy E. Blelloch and Yuanhao Wei},
  year = {2020},
  eprint = {2002.07053},
  archivePrefix = {arXiv},
  primaryClass = {cs.DC},
  url = {https://arxiv.org/abs/2002.07053}
}
APA
Blelloch, G. E., & Wei, Y. (2020). Concurrent Reference Counting and Resource Management in Wait-free Constant Time [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2002.07053
GB/T 7714
BLELLOCH GE, WEI Y. Concurrent Reference Counting and Resource Management in Wait-free Constant Time[EB/OL]. (2020-02-17)[2026-11-29]. https://arxiv.org/abs/2002.07053.

초록

A common problem when implementing concurrent programs is efficiently protecting against unsafe races between processes reading and then using a resource (e.g., memory blocks, file descriptors, or network connections) and other processes that are concurrently overwriting and then destructing the same resource. Such read-destruct races can be protected with locks, or with lock-free solutions such as hazard-pointers or read-copy-update (RCU). In this paper we describe a method for protecting read-destruct races with expected constant time overhead, O(P^2) space and O(P^2) delayed destructs, and with just single word atomic memory operations (reads, writes, and CAS). It is based on an interface with four primitives, an acquire-release pair to protect accesses, and a retire-eject pair to delay the destruct until it is safe. We refer to this as the acquire-retire interface. Using the acquire-retire interface, we develop simple implementations for three common use cases: (1) memory reclamation with applications to stacks and queues, (2) reference counted objects, and (3) objects manage by ownership with moves, copies, and destructs. The first two results significantly improve on previous results, and the third application is original. Importantly, all operations have expected constant time overhead.

#1 · 논문

토론

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.