Automatic Detection of Shared Objects in Multithreaded Java Programs

Tolubaeva M., Can A.

International Conference on Computational Intelligence for Modelling, Control and Automation, Vienna, Austria, 10 - 12 December 2008, pp.522-526 identifier identifier

  • Publication Type: Conference Paper / Full Text
  • Doi Number: 10.1109/cimca.2008.225
  • City: Vienna
  • Country: Austria
  • Page Numbers: pp.522-526
  • Middle East Technical University Affiliated: Yes


This paper presents a simple and efficient automated tool called DoSSO that detects shared objects in multithreaded Java programs. Our main goal is to help programmers see all potentially shared objects that may cause some complications at runtime. This way programmers can implement a concurrent software without considering synchronization issues and then use appropriate locking mechanism based on the DoSSO results. To illustrate the effectiveness of our tool, we have petformed an experiment on a multithreaded system with graphical user intetfaces and remote method invocations and achieved promising results.