THOR: a performance analysis tool for java applications running on multicore systems

  • Authors:
  • Q. M. Teng;H. C. Wang;Z. Xiao;P. F. Sweeney;E. Duesterwald

  • Affiliations:
  • IBM China Research Laboratory, Beijing, China;IBM China Research Laboratory, Shanghai, China;IBM China Research Laboratory, Shanghai, China;IBM Research Division, Thomas J. Watson Research Center, Hawthorne, NY;IBM Research Division, Thomas J. Watson Research Center, Hawthorne, NY

  • Venue:
  • IBM Journal of Research and Development
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The growing scale of available commercial multicore systems has increased the need for concurrent programming, because these systems expose hardware parallelism to the programmer that must be explicitly managed in software. Commercial software developers that are traditionally skilled in sequential programming are now forced to reason about concurrency to exploit multicore parallelism. More than ever, this new group of concurrent programmers has to rely on performance tools for help. This paper introduces a new tool called THOR, which addresses the complexities introduced by multicore parallelism by organizing views in terms of Java®threads and using vertical profiling techniques to understand the state of a Java thread at all layers of the execution stack. Data collection supports visualization by tagging each trace event with a corresponding thread identifier and with a time-stamp from the machine's high-resolution timer. By exhaustively tracing fine-grain events, such as operating system context switches and Java lock contention, data collection allows a user to utilize visualization to reconstruct the precise behavior of his application. In this paper, we present the details of the THOR architecture and design. THOR is currently available from IBM alphaWorks®as part of the multicore software development kit.