• DocumentCode
    1579796
  • Title

    A Scalable Lock-Free Stack Algorithm and its Verification

  • Author

    Colvin, Robert ; Groves, Lindsay

  • Author_Institution
    Univ. of Queensland, Brisbane
  • fYear
    2007
  • Firstpage
    339
  • Lastpage
    348
  • Abstract
    The design of efficient software supporting concurrent access to shared data is a challenging task. Often such programs will have at their core algorithms which utilise conceptual locks to restrict access to the data, and which are significantly more complex than their sequential (non-concurrent) counterparts. Lock-free algorithms, which have been developed to avoid problems such as priority inversion and deadlock, are more complex still due to the larger scope for interference between processes. These algorithms become even more complex when further mechanisms are added to achieve good performance under a wide range of workloads. In this paper we present a lock-free algorithm that efficiently manages interference on a shared stack, by allowing complementary stack operations to be eliminated without altering the stack. The algorithm we present is based on a published algorithm due to Hendler, Shavit and Yerushalmi (2004), and incorporates simplifications and improvements that we discovered while attempting to verify the original algorithm. We present a high-level view of the formal verification of our algorithm, which was machine-checked using the PVS theorem prover.
  • Keywords
    concurrency theory; formal verification; theorem proving; concurrent access; formal verification; machine checking; scalable lock-free stack algorithm; shared data; software design; the PVS theorem prover; Computer science; Data structures; Formal verification; Information technology; Interference elimination; Mathematics; Programming profession; Software algorithms; Software engineering; Statistics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Formal Methods, 2007. SEFM 2007. Fifth IEEE International Conference on
  • Conference_Location
    London
  • Print_ISBN
    978-0-7695-2884-7
  • Type

    conf

  • DOI
    10.1109/SEFM.2007.2
  • Filename
    4343950