Title :
JThreadSpy: A Tool for Improving the Effectiveness of Concurrent System Teaching and Learning
Author :
Malnati, Giovanni ; Cuva, Caterina Maria ; Barberis, Claudia
Author_Institution :
Dipt. di Autom. e Inf., Politec. di Torino, Turin
Abstract :
Both teaching and learning multithreaded programming are complex tasks, due to the abstraction of the concepts, the non-determinism of the scheduler, the impossibility of using classical strategies adopted in procedural programming and the need to develop a practical vision of concurrency problems. In order to overcome these difficulties we developed JThreadSpy, an educational tool that collects execution traces and displays them with a selectable level of detail using an augmented UML sequence diagram, thus providing a synoptic representation of the execution. In this article, we show the experimental results about the effectiveness of using JThreadSpy in undergraduate and graduate courses, explaining how it helps students to solve concurrency problems. JThreadSpy is also useful in the teaching process, because it can concretely show some malicious programming patterns that lead to race conditions or deadlocks.
Keywords :
Java; Unified Modeling Language; computer aided instruction; computer science education; concurrency control; educational courses; multi-threading; programming; teaching; JThreadSpy; Java; augmented UML sequence diagram; concept abstraction; concurrent system learning; concurrent system teaching; educational tool; execution traces; multithreaded programming; procedural programming; synoptic representation; undergraduate courses; Automatic programming; Computer science; Concurrent computing; Displays; Education; Multithreading; Programming profession; Unified modeling language; Visualization; Yarn; Java language; concurrent programming; educational technology; execution trace visualization; experimental assessment;
Conference_Titel :
Computer Science and Software Engineering, 2008 International Conference on
Conference_Location :
Wuhan, Hubei
Print_ISBN :
978-0-7695-3336-0
DOI :
10.1109/CSSE.2008.11