Title :
Exception analysis for multithreaded Java programs
Author :
Ryu, Sukyoung ; Yi, Kwangkeun
Author_Institution :
Dept. of Comput. Sci., Korea Adv. Inst. of Sci. & Technol., Daejeon, South Korea
Abstract :
This paper presents a static analysis that estimates uncaught exceptions in multithreaded Java programs. In Java, throwing exceptions across threads is deprecated because of the safely problem. Instead of restricting programmers´ freedom, we extend the Java language to support multithreaded exception handling and propose a tool to detect uncaught exceptions in the input programs. Our analysis consists of two steps. The analysis firstly, estimates concurrently evaluated expressions of the multithreads in Java programs by the synchronization relation among the threads. Using this concurrency information, the program´s exception flow is derived as set-constraints, whose least model is our analysis result. Both of these two steps are proved safe
Keywords :
Java; exception handling; multi-threading; program diagnostics; concurrency information; exception flow; input programs; multithreaded Java programs; multithreaded exception handling; safely problem; set-constraints; static analysis; synchronization relation; threads; uncaught exception detection tool; Computer science; Concurrent computing; Information analysis; Java; Multithreading; Programming profession; Research initiatives; Safety; Yarn;
Conference_Titel :
Quality Software, 2001. Proceedings.Second Asia-Pacific Conference on
Conference_Location :
Hong Kong
Print_ISBN :
0-7695-1287-9
DOI :
10.1109/APAQS.2001.989998