作者: Nicholas Kidd , Peter Lammich , Tayssir Touili , Thomas Reps
DOI: 10.1007/978-3-642-02652-2_12
关键词: Automaton 、 Thread (computing) 、 Model checking 、 Programming language 、 Context switch 、 Atomicity 、 Computer science 、 Java 、 Finite-state machine 、 Serializability
摘要: We present a new decision procedure for detecting property violations in pushdown models concurrent programs that use lock-based synchronization, where each thread's lock operations are properly nested (a la synchronized methods Java). The technique detects expressed as indexed phase automata (PAs)--a class of non-deterministic finite which the only loops self-loops. Our interest PAs stems from their ability to capture atomic-set serializability violations. (Atomic-set is relaxation atomicity user-specified set memory locations.) implemented and applied it atomic-set-serializability Java programs. Compared with prior method based on semi-decision procedure, not was 7.5X faster overall, but timed out about 68% queries versus 4% procedure.