Correction of a Memory Management Method for Lock-Free Data Structures.

Abstract

Memory reuse in link-based lock-free data structures requires special care. Many lock-free algorithms require deleted nodes not to be reused until no active pointers point to them. Also, most lock-free algorithms use the compare.and. swap atomic primitive, which can suffer from the ABA problem' (l) associated with memory reuse. Valois (3) proposed a memory management method for link-based data structures that addresses these problems. The method associates a reference count with each node of reusable memory. A node is reused only when no processes or data structures point to it, The method solves the ABA problem for acyclic link-based data structures, and allows lock-free algorithms more flexibility as nodes are not required to be freed immediately after a delete operation (e.g. dequeue, pop, delete min, etc.). However, there are race conditions that may corrupt data structure that use this method. In this report we correct these race conditions and present a corrected version of Valois's method.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Dec 01, 1995
Accession Number
ADA309143

Entities

People

  • Maged M. Michael
  • Michael L. Scott

Organizations

  • University of Rochester

Tags

Communities of Interest

  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Abstracts
  • Algorithms
  • Asynchronous Systems
  • Classification
  • Computer Science
  • Computers
  • Consistency
  • Digital Information
  • Guarantees
  • Information Operations
  • Information Science
  • Information Systems
  • Lists (Data Structures)
  • Military Research
  • Security
  • Standards
  • Theses

Fields of Study

  • Computer science

Readers

  • Parallel and Distributed Computing.