Sciweavers

ENTCS
2008

Platform Independent Timing of Java Virtual Machine Bytecode Instructions

13 years 11 months ago
Platform Independent Timing of Java Virtual Machine Bytecode Instructions
The accurate measurement of the execution time of Java bytecode is one factor that is important in order to estimate the total execution time of a Java application running on a Java Virtual Machine. In this paper we document the difficulties and solutions for the accurate timing of Java bytecode. We also identify trends across the execution times recorded for all imperative Java bytecodes. These trends would suggest that knowing the execution times of a small subset of the Java bytecode instructions would be sufficient to model the execution times of the remainder. We first review a statistical approach for achieving high precision timing results for Java bytecode using low precision timers and then present a more suitable technique using homogeneous bytecode sequences for recording such information. We finally compare instruction execution times acquired using this platform independent technique against execution times recorded using the read time stamp counter assembly instruction. ...
Jonathan M. Lambert, James F. Power
Added 26 Dec 2010
Updated 26 Dec 2010
Type Journal
Year 2008
Where ENTCS
Authors Jonathan M. Lambert, James F. Power
Comments (0)