Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
DCAS-based concurrent deques supporting bulk allocationJanuary 2002
2002 Technical Report
  • Authors:
  • Paul Martin,
  • Mark Moir,
  • Guy Steele
Publisher:
  • Sun Microsystems, Inc.
  • An Imprint of Prentice Hall PTR 2500 Garcia Avenue Mountain View, CA
  • United States
Published:01 January 2002
Pages:
20
Reflects downloads up to 15 Oct 2024Bibliometrics
Skip Abstract Section
Abstract

We present a lock-free implementation of a dynamically sized double-ended queue (deque) that is based on the double compare-and-swap (DCAS) instruction. This implementation improves over the best previous one by allowing storage to be allocated and freed in bulk when the size of the deque changes significantly, and to avoid invocation of the storage allocator at all while the size remains relatively stable. We achieved this implementation in two steps by first solving the easier problem of implementing the deque for a garbage-collected environment, and then applying the Lock-Free Reference Counting methodology we recently proposed in order to achieve a version independent of garbage collection.

Contributors
  • Colorado School of Mines
  • Oracle Corporation
  • Oracle Corporation

Recommendations