ConLock: a constraint-based approach to dynamic checking on deadlocks in multithreaded programs

Author(s):  
Yan Cai ◽  
Shangru Wu ◽  
W. K. Chan
2015 ◽  
Vol 26 (1) ◽  
pp. 13-23 ◽  
Author(s):  
Yan Cai ◽  
Changjiang Jia ◽  
Shangru Wu ◽  
Ke Zhai ◽  
Wing Kwong Chan

2013 ◽  
Vol 1 (3) ◽  
pp. 48-65
Author(s):  
Yuting Chen

A concurrent program is intuitively associated with probability: the executions of the program can produce nondeterministic execution program paths due to the interleavings of threads, whereas some paths can always be executed more frequently than the others. An exploration of the probabilities on the execution paths is expected to provide engineers or compilers with support in helping, either at coding phase or at compile time, to optimize some hottest paths. However, it is not easy to take a static analysis of the probabilities on a concurrent program in that the scheduling of threads of a concurrent program usually depends on the operating system and hardware (e.g., processor) on which the program is executed, which may be vary from machine to machine. In this paper the authors propose a platform independent approach, called ProbPP, to analyzing probabilities on the execution paths of the multithreaded programs. The main idea of ProbPP is to calculate the probabilities on the basis of two kinds of probabilities: Primitive Dependent Probabilities (PDPs) representing the control dependent probabilities among the program statements and Thread Execution Probabilities (TEPs) representing the probabilities of threads being scheduled to execute. The authors have also conducted two preliminary experiments to evaluate the effectiveness and performance of ProbPP, and the experimental results show that ProbPP can provide engineers with acceptable accuracy.


2016 ◽  
Vol 9 (17) ◽  
Author(s):  
Abdul Rahim Mohamed Ariffin ◽  
Isma Farah Siddiqui ◽  
Scott Uk-Jin Lee

2015 ◽  
Vol 27 (17) ◽  
pp. 5261-5287 ◽  
Author(s):  
Seyed Morteza Babamir ◽  
Elmira Hassanzade ◽  
Mona Azimpour

Sign in / Sign up

Export Citation Format

Share Document