A Transparent Monitor Based on JDI for Scalable Race Detection of Concurrent Java Programs


KIPS Transactions on Computer and Communication Systems, Vol. 16, No. 2, pp. 55-60, Apr. 2009
10.3745/KIPSTA.2009.16.2.55,   PDF Download:

Abstract

Race conditions in current Java programs must be detected because it may cause unexpected result by non-deterministic executions. For detecting such races during program execution, execution flows of all threads and all access events can be monitored. It is difficult for previous race detection techniques to monitor all threads and access events in actuality because these techniques analyze the files traced during program execution or modify original source programs and then monitor these programs. This paper presents a transparent scalable monitoring tool to detect races using JDI(Java Debug Interface) where JDI is 100% pure java interface to provide in JDPA(Java Platform Debugger Architecture) and is able to provide information corresponding to events occurred in run-time of programs. This tool thus can monitor execution flows of all threads and all access events without program modification. We prove transparency of the presented tool and grasp the efficiency of it using a set of published benchmark programs. As a result of this, the suggested tool can monitor all threads and accesses of these programs without their modification, and their monitoring time is increased to more than 20 times.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
Y. J. Kim, I. B. Kuh, B. J. Bae and Y. K. Jun, "A Transparent Monitor Based on JDI for Scalable Race Detection of Concurrent Java Programs," KIPS Journal A (2001 ~ 2012) , vol. 16, no. 2, pp. 55-60, 2009. DOI: 10.3745/KIPSTA.2009.16.2.55.

[ACM Style]
Young Joo Kim, In Bon Kuh, Byoung Jin Bae, and Yong Kee Jun. 2009. A Transparent Monitor Based on JDI for Scalable Race Detection of Concurrent Java Programs. KIPS Journal A (2001 ~ 2012) , 16, 2, (2009), 55-60. DOI: 10.3745/KIPSTA.2009.16.2.55.