Treffer: Analysing Concurrent Queues Using CSP: Examining Java's ConcurrentLinkedQueue.

Title:
Analysing Concurrent Queues Using CSP: Examining Java's ConcurrentLinkedQueue.
Source:
Software (2674-113X); Sep2025, Vol. 4 Issue 3, p15, 24p
Database:
Complementary Index

Weitere Informationen

In this paper we examine the OpenJDK library implementation of the ConcurrentLinkedQueue. We use model checking to verify that it behaves according to the algorithm it is based on: Michael and Scott's fast and practical non-blocking concurrent queue algorithm. In addition, we develop a simple concurrent queue specification in CSP and verify that Michael and Scott's algorithm satisfies it. We conclude that both the algorithm and the implementation are correct and both conform to our simpler concurrent queue specification, which we can use in place of either implementation in future verification tasks. The complete code is available on GitHub. [ABSTRACT FROM AUTHOR]

Copyright of Software (2674-113X) is the property of MDPI and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)