Deadlocks are serious runtime bugs and are difficult to expose, reproduce and diagnose. Once suffering from them, programs may be afflicted with increasing response time, decreasing throughputs, or even crashes. We present Mocklinter, a dynamic deadlock detection tool to capture a deadlock as soon as it happens and spit out enough information to support source-level debugging. Mocklinter tracks the synchronization state of the target program by dynamically constructing and maintaining a lock allocation graph. Mocklinter uses this graph to decide whether a deadlock is confronted or not. Mocklinter handles all types of pthread mutexes and can detect any number of deadlocks at a time. Each deadlock captured by Mocklinter can involve any number of threads. We implemented Mocklinter in Linux-3.2.0 and evaluated it with ten applications, including Dining-Philosophers, Sshfs, SQLite, OpenLDAP, MySQL and so on, whose sizes varies from 0.1K to 1021.0K in terms of LOC. The results demonstrate effectiveness against real or artificial deadlock bugs, while incurring modest performance overhead and scaling to more than one thousand of threads.
목차
Abstract 1. Introduction 2. Related Work 3. Mocklinter Overview 4. Monitor 4.1. Operations Monitored 4.2. Hijack Algorithms 5. Linter 5.1. Maintaining LAG 5.2. Detecting Cycles 6. Evaluation 6.1. Implementation and Applications 6.2. Results 6.3. Performance Overhead 6.4. Memory Consumption 6.5. Comparison 7. Limitations and Future Work 8. Conclusions Acknowledgements References
보안공학연구지원센터(IJHIT) [Science & Engineering Research Support Center, Republic of Korea(IJHIT)]
설립연도
2006
분야
공학>컴퓨터학
소개
1. 보안공학에 대한 각종 조사 및 연구
2. 보안공학에 대한 응용기술 연구 및 발표
3. 보안공학에 관한 각종 학술 발표회 및 전시회 개최
4. 보안공학 기술의 상호 협조 및 정보교환
5. 보안공학에 관한 표준화 사업 및 규격의 제정
6. 보안공학에 관한 산학연 협동의 증진
7. 국제적 학술 교류 및 기술 협력
8. 보안공학에 관한 논문지 발간
9. 기타 본 회 목적 달성에 필요한 사업
간행물
간행물명
International Journal of Hybrid Information Technology
간기
격월간
pISSN
1738-9968
수록기간
2008~2016
십진분류
KDC 505DDC 605
이 권호 내 다른 논문 / International Journal of Hybrid Information Technology Vol.9 No.3