Title :
Race condition and concurrency safety of multithreaded object-oriented programming in Java
Author_Institution :
Dept. of Comput. Sci., Jinan Univ., Guangzhou, China
Abstract :
To ensure the reliability and quality, software systems should be safe. The software safety requires the data consistency in the software. In the multithreaded object-oriented programming, the coherency problem, also called a race condition, may destroy the data consistency. In order to overcome the coherency problem Java sets up the "synchronized" mechanism. However, improper use of the "synchronized" mechanism in Java will result in system deadlock, which also violates the requirement of software safety. We find that it is necessary to supplement a new function to the "synchronized" mechanism of Java. Another contribution in the paper is to propose a new approach for detecting system deadlock in Java multithreaded programs with the synchronized mechanism.
Keywords :
Java; concurrency control; data integrity; hazards and race conditions; multi-threading; object-oriented programming; software reliability; synchronisation; Java; coherency problem; concurrency safety; data consistency; multithreaded object-oriented programming; race condition; software quality; software reliability; synchronized mechanism; system deadlock; Computer science; Concurrent computing; Java; Object oriented programming; Sliding mode control; Software safety; Software systems; Software testing; System recovery; System testing;
Conference_Titel :
Systems, Man and Cybernetics, 2002 IEEE International Conference on
Print_ISBN :
0-7803-7437-1
DOI :
10.1109/ICSMC.2002.1175574