Title :
Visualizing the synchronization of Java-threads with UML
Author :
Mehner, Katharina ; Wagner, Annika
Author_Institution :
Dept. of Comput. Sci., Paderborn Univ., Germany
Abstract :
Concurrent programming is a complex task, even with modern languages such as Java who provide language-based support for multithreading and synchronization. In addition to typical errors from sequential programming concurrent programming is prone to security and lifeness errors, which are difficult to detect due to the inherent nondeterminism in concurrent programs. While debugging is still mainly based on textual representations, we think that the use of visual languages can ease program comprehension. Once a synchronization error is detected, e.g. during testing, the error situation shall be visualized to analyze the reason for the error. With UML being a major visual modeling language for object oriented software development we decide to base our visualization on it and present how to visualize program traces with UML sequence and collaboration diagrams. We focus on the visualization of the synchronization of threads. For this purpose we extend UML to model the runtime mechanisms of the Java language constructs for synchronization
Keywords :
Java; data visualisation; multi-threading; object-oriented programming; program debugging; visual languages; Java; Java-threads; UML; concurrent programming; debugging; language-based support; multithreading; object oriented software development; program comprehension; sequential programming; synchronization; synchronization error; textual representations; visual languages; visual modeling language; Collaborative software; Debugging; Java; Multithreading; Object oriented modeling; Programming; Security; Testing; Unified modeling language; Visualization;
Conference_Titel :
Visual Languages, 2000. Proceedings. 2000 IEEE International Symposium on
Conference_Location :
Seattle, WA
Print_ISBN :
0-7695-0840-5
DOI :
10.1109/VL.2000.874384