We apply the XMC model checker to the Java meta-locking algorithm, a highly optimized technique for ensuring mutually exclusive access by threads to object monitor queues. Our abstract specification of the meta-locking algorithm is fully parameterized, both on M, the number of threads, and N, the number of objects. Using XMC, we show that for a variety of values of M and N, the algorithm indeed provides mutual exclusion and freedom from lockout.
Index Terms:
Java, model checking, mutual exclusion, objects, specification and verification, threads, synchronization
Citation:
Samik Basu, Scott A. Smolka, Orson R. Ward, "Model Checking the Java Meta-Locking Algorithm," ecbs, pp.342, 7th IEEE International Conference and Workshop on the Engineering of Computer Based Systems, 2000