Abstract
To assist developing robust multithreaded software, we develop a thread monitoring system for multithreaded Java programs, which can trace or monitor running threads and synchronization. We design a monitoring system which has options to select interesting threads and synchronized actions. Using this tool, programmers can monitor only interesting threads and synchronization in more details by selecting options, and can detect a deadlock. It also provides profile information after execution, which summarizes behavior of running threads and synchronized actions during execution. We implement the system based on code inlining, and presents some experimental results.
- B. Bokowski, Andre Spiegel. Barat A Front-End for Java. Technical Report B-98-09 December 1998.Google Scholar
- B. Dufour, K. Driesen, L. Hendren and C. Verbrugge. Dynamic Metrics for Java. Proceedings of ACM OOPSLA '03, October, 2003, Anaheim, CA. Google Scholar
Digital Library
- U. Erlingsson, The inlined reference monitor approach to secure policy enforcement, Ph.D thesis, Cornell University, January 2004. Google Scholar
Digital Library
- E. Gamma, R. Helm, R. Johnson and J. Vlissides, Design Patterns:Elements of Reusable Object-Oriented Software, Addison-Wesley, 1995. Google Scholar
Digital Library
- J. Gosling, B. Joy, and G. Steele, The Java Programming Language Specification, Addison-Wesley, 1996. Google Scholar
Digital Library
- AdaptJ:A Dynamic Application Profiling Toolkit for Java, http://www.sable.mcgill.ca/bdufou1/AdaptJGoogle Scholar
- Sun Microsystems, J2ME Wireless Toolkit, http://java.sun.com.Google Scholar
- Doug Lea, Concurrent Programming in Java(TM): Design Principles and Pattern, 2nd Edition, Addison-Wesley. Google Scholar
Digital Library
- Sun Microsystems, Design of JFluid: A Profiling Technology and Tool Based on Dynamic Bytecode Instrumentation, 2003.11.Google Scholar
- http://www.netbeans.org/Google Scholar
- Jan Christiansen, Frank Huch: Searching for deadlocks while debugging concurrent haskell programs. ICFP 2004: 28--39 Google Scholar
Digital Library
- Deepa Viswanathan, Sheng Liang: Java Virtual Machine Profiler Interface. IBM Systems Journal 39(1): 82-(2000) Google Scholar
Digital Library
- Heejung Ohe and Byeong-Mo Chang, An Exception Monitoring System for Java, Proceedings of Rapid Integration of Software Engineering, Nov. 2004, Luxembourg. Also available as LNCS 3475. Google Scholar
Digital Library
Index Terms
A thread monitoring system for multithreaded Java programs
Recommendations
Efficient Java thread serialization
PPPJ '03: Proceedings of the 2nd international conference on Principles and practice of programming in JavaThe Java system supports the transmission of code via dynamic class loading, and the transmission or storage of data via object serialization. However, Java does not provide any mechanism for the transmission/storage of computation (i.e., thread ...
Efficient Sampling-based Lock Contention Profiling for Java
ICPE '17: Proceedings of the 8th ACM/SPEC on International Conference on Performance EngineeringConcurrent code commonly uses locks. Choosing between simpler but less scalable and more sophisticated but error-prone locking mechanisms is difficult during development. Therefore, lock contention analysis at run-time is crucial to aid such decisions.
...
Lock elision for read-only critical sections in Java
PLDI '10It is not uncommon in parallel workloads to encounter shared data structures with read-mostly access patterns, where operations that update data are infrequent and most operations are read-only. Typically, data consistency is guaranteed using mutual ...






Comments