Nothing Special   »   [go: up one dir, main page]

skip to main content
Dynamic-sized lockfree data structuresJanuary 2002
2002 Technical Report
  • Authors:
  • Maurice Herlihy,
  • Victor Luchangco,
  • Paul Martin,
  • Mark Moir
Publisher:
  • Sun Microsystems, Inc.
  • An Imprint of Prentice Hall PTR 2500 Garcia Avenue Mountain View, CA
  • United States
Published:01 January 2002
Pages:
21
Reflects downloads up to 18 Nov 2024Bibliometrics
Skip Abstract Section
Abstract

We address the problem of integrating lockfree shared data structures with standard dynamic allocation mechanisms (such as malloc and free).

We have two main contributions. The first is the design and experimental analysis of two dynamic-sized lockfree FIFO queue implementations, which extend Michael and Scott's previous implementation by allowing unused memory to be freed. We compare our dynamic-sized implementations to the original on 16-processor and 64-processor multiprocessors. Our experimental results indicate that the performance penalty for making the queue dynamic-sized is modest, and is negligible when contention is not too high. These results were achieved by applying a solution to the Repeat Offender Problem (ROP), which we recently posed and solved.

Our second contribution is another application of ROP solutions. Specifically, we show how to use any ROP solution to achieve a general methodology for transforming lockfree data structures that rely on garbage collection into ones that use explicit storage reclamation.

Contributors
  • Brown University
  • Oracle Corporation
  • Colorado School of Mines
  • Oracle Corporation
Please enable JavaScript to view thecomments powered by Disqus.

Recommendations