Visualization Of Monitor-based Executions

ResearchCommons/Manakin Repository

Visualization Of Monitor-based Executions

Show simple item record Koteeswaran, Keerthika en_US 2008-08-08T02:31:08Z 2008-08-08T02:31:08Z 2008-08-08T02:31:08Z March 2008 en_US
dc.identifier.other DISS-2015 en_US
dc.description.abstract Concurrent programs play a vital role in the world of software engineering. Concurrent programs are used in various fields such as safety critical applications, applications involving advanced graphical user interface, operating system implementation etc. Concurrent programs due to their inherent multi-threaded nature pose a challenge to software engineers not only in coding but also in ensuring data consistency and accuracy. One of the important software constructs used by concurrent programmers to handle critical sections and data synchronization is monitors. A monitor is an encapsulation of shared data, operations on the data and any synchronization required to access the data~\cite{CarTai06:ModMulti}. Monitors are widely used by concurrent programmers since it guarantees mutual exclusion and can be implemented to ensure synchronization between all the threads in a multi-threaded application. All concurrent programs are unpredictable in nature since the output directly depends on the sequence of thread execution. This unpredictability poses a great challenge to concurrent programmers. This thesis mainly proposes and implements a method to visualize the working of monitors in concurrent programs. This would facilitate concurrent programmers to view, understand, analyze and test the monitor implemented in their program. The GUI application is incorporated with JSWAT which is a open-source graphical debugger front end based on Java Platform Debugger Architecture. The motive behind integrating the visualization application and JSWAT is to provide useful features like sophisticated breakpoints, colorized code display, panels displaying call stacks, visible variables apart from visualization of monitor execution. The visualization application analyzes each statement in the code to capture data pertinent to visualization. This data is communicated to the GUI which maps it to the appropriate visualization rule. The visualization rules determine where each thread is to be positioned in the GUI. When the concurrent program is executed in the debugger, the user would be able to view the different threads in different positions in the GUI. The positions would directly correspond to the states of the threads with respect to the monitor. Visualizing the interaction of the different threads with each other and with the monitor would facilitate a concurrent programmer to analyze the program and ensure its accuracy and correctness. This tool can also be used as a teaching aid to instruct software engineering students and novice concurrent programs by helping them to visualize, understand and appreciate the working of concurrent programs in general and monitors in particular. This tool aims to contribute towards easing the burden of concurrent programmers by enhancing their understanding of monitor based executions. en_US
dc.description.sponsorship Lei, Jeff en_US
dc.language.iso EN en_US
dc.publisher Computer Science & Engineering en_US
dc.title Visualization Of Monitor-based Executions en_US
dc.type M.S. en_US
dc.contributor.committeeChair Lei, Jeff en_US Computer Science & Engineering en_US Computer Science & Engineering en_US University of Texas at Arlington en_US masters en_US M.S. en_US

Files in this item

Files Size Format View
umi-uta-2015.pdf 6.441Mb PDF View/Open
6.441Mb PDF View/Open

This item appears in the following Collection(s)

Show simple item record


My Account


About Us