Treffer: ProfBuilder: A Package for Rapidly Building Java Execution Profilers

Title:
ProfBuilder: A Package for Rapidly Building Java Execution Profilers
Contributors:
The Pennsylvania State University CiteSeerX Archives
Publication Year:
1998
Collection:
CiteSeerX
Document Type:
Fachzeitschrift text
File Description:
application/pdf
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.5B74DF68
Database:
BASE

Weitere Informationen

ProfBuilder is a collection of Java classes that provide an easy method for constructing Java execution profiling tools. By instrumenting Java bytecode, a programmer can measure dynamic properties of an application, such as bytecode count, number of memory allocations, cache misses and branches. ProfBuilder provides an easy way to create customized tools to measure these and other properties by writing a small amount of code. Although commercial profiling tools for Java available, there are currently few, if any, Java profiler generators. In this paper, we describe the Prof Builder meta-tool as well as two tools built using the package, a bytecode instruction profiler and a memory allocation profiler. We also describe our experience using these tools on programs, including the overhead of instrumentation and profiling. Finally, we discuss the results of using the instruction profiler to optimize the execution time of a Java program, increasing its performance 15 % with minor changes to the code. ∗ This research is supported in part by NSF Grants CCR-9711398 and IRI-9521046. 1