arrow
返回

Model checking the Java metalocking algorithm

delete2007-07-01
delete1
PRE
AI
S
Samik Basu *
S
Scott A. Smolka
DOI:10.1145/1243987.1243990delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
We report on our efforts to use the XMC model checker to model and verify the Java metalocking algorithm. XMC [Ramakrishna et al. 1997] is a versatile and efficient model checker for systems specified in XL, a highly expressive value-passing language. Metalocking [Agesen et al. 1999] is a highly-optimized technique for ensuring mutually exclusive access by threads to object monitor queues and, therefore; plays an essential role in allowing Java to offer concurrent access to objects. Metalocking can be viewed as a two-tiered scheme. At the upper level, the metalock level, a thread waits until it can enqueue itself on an object's monitor queue in a mutually exclusive manner. At the lower level, the monitor-lock level, enqueued threads race to obtain exclusive access to the object. Our abstract XL specification of the metalocking algorithm is fully parameterized, both on the number of threads M, and the number of objects N. It also captures a sophisticated optimization of the basic metalocking algorithm known as extra-fast locking and unlocking of uncontended objects. Using XMC, we show that for a variety of values of M and N, the algorithm indeed provides mutual exclusion and freedom from deadlock and lockout at the metalock level. We also show that, while the monitor-lock level of the protocol preserves mutual exclusion and deadlock-freedom, it is not lockout-free because the protocol's designers chose to give equal preference to awaiting threads and newly arrived threads.
Keyword:
verification
java
XMC
metalocking
monitor queues
mutual exclusion
synchronized methods
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.3K
被引数:
4.0K

机构

暂无机构信息
引用论文

引用论文

Anderson-Hynes Pyeloplasty in Patients Less Than 12 Months Old. Is the Laparoscopic Approach Safe and Feasible?
err2014-08-01
err0
PREAI
errLuis García-Aparicio; Eva Blazquez-Gomez; Oriol Martin; Alejandro Manzanares; Natalie García-Smith; Miguel Bejarano; Joan Rodo; Josep M. Ribó
err分享
err收藏
Baseline Data from the TRiUS Registry: Symptoms and Comorbidities of Testosterone Deficiency
err2015-03-13
err0
PREAI
errMartin M. Miner; Mohit Khera; Rajib K. Bhattacharya; Gary Blick; Harvey Kushner
err分享
err收藏
err分享
err收藏
err分享
err收藏
Health-related quality of life compared to life situation and incontinence in adults with myelomeningocele: Is SF-36 a reliable tool?
err2013-10-01
err0
PREAI
errMagdalena Vu Minh Arnell; Katarina Seljee Svedberg; Birgitta Lindehall; Anders Möller; Kate Abrahamsson
err分享
err收藏
Dopamine D1 Receptor Immunoreactivity on Fine Processes of GFAP-Positive Astrocytes in the Substantia Nigra Pars Reticulata of Adult Mouse
err2017-02-01
err0
errOAAI
errKatsuhiro Nagatomo; Sechiko Suga; Masato Saitoh; Masahito Kogawa; Kazuto Kobayashi; Yoshio Yamamoto; Katsuya Yamada
err分享
err收藏
没有更多内容