Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

A visual tool for teaching multithreading in Java

Published: 01 June 2007 Publication History

Abstract

This paper describes a tool that provides visual support for teaching concurrent programming in Java. It is known that teaching concurrent programming is hard. One reason is that students cannot visually observe the concurrent execution of multithreading programs, especially the synchronization among threads. The tool described in this paper can display the execution of threads and the synchronization among threads in a graphical form, and replay the execution sequence in terms of events of interest. The tool uses AspectJ to collect data for the events of interest, and it does not modify the programs' source code, nor does it recompile the programs with instrumented libraries.

References

[1]
Java Tutorials: Concurrency, http://java.sun.com/docs/books/tutorial/essential/concurrency/, Retrieved August 1, 2006.
[2]
Graham O'Regan. Introduction to Aspect-Oriented Programming, http://www.onjava.com/pub/a/onjava/2004/01/14/aop.html, Retrieved August 1, 2006.
[3]
The AspectJTM Programming Guide. January 10, 2006. http://www.eclipse.org/aspectj/doc/released/progguide/index.html, Retrieved August 1, 2006.
[4]
Attali, I., Attali, D., and Russo, M., Graphical Visualization of Java Objects, Threads, and Locks, IEEE Distributed Systems Online, January 2001.
[5]
Kessi, M. and Vincent J, Performance Monitoring and Visualization of Large-Sized and Multi-Threaded Applications with the Pajé Framework, Proceedings of the International Multi-Conference on Computing in the Global Information Technology, pp 34 -- 49, August 2006.
[6]
Reiss, S. P., Visualizing Java in Action, Proceedings of the 2003 ACM symposium on Software visualization, pp. 57--66, June 11 -- 13, 2003
[7]
Reiss, S. P., Efficient Monitoring and Display of Thread State in Java, Proceedings of the 13th International Workshop on Program Comprehension, pp. 247--256, May 2005.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Journal of Computing Sciences in Colleges
Journal of Computing Sciences in Colleges  Volume 22, Issue 6
Papers of the twelfth annual CCSC Northeastern Conference
June 2007
192 pages
ISSN:1937-4771
EISSN:1937-4763
Issue’s Table of Contents

Publisher

Consortium for Computing Sciences in Colleges

Evansville, IN, United States

Publication History

Published: 01 June 2007
Published in JCSC Volume 22, Issue 6

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)14
  • Downloads (Last 6 weeks)0
Reflects downloads up to 10 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2020)Teaching Parallel Programming for Beginners in Computer Science2020 IEEE Frontiers in Education Conference (FIE)10.1109/FIE44824.2020.9274155(1-9)Online publication date: 21-Oct-2020
  • (2015)Teaching semaphores using... semaphoresJournal of Computing Sciences in Colleges10.5555/2675327.267534630:3(117-125)Online publication date: 1-Jan-2015
  • (2013)MDATProceeding of the 44th ACM technical symposium on Computer science education10.1145/2445196.2445318(403-408)Online publication date: 6-Mar-2013
  • (2012)Exploring concurrency using the parallel analysis toolProceedings of the 43rd ACM technical symposium on Computer Science Education10.1145/2157136.2157286(511-516)Online publication date: 29-Feb-2012
  • (2008)Teaching parallel computing in a small collegeJournal of Computing Sciences in Colleges10.5555/1409823.140986124:2(179-188)Online publication date: 1-Dec-2008

View Options

Get Access

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media