Electronic Notes in Theoretical Computer Science · 2008 · 16 citations · 13 references
ComputingComputer EngineeringComputer ScienceOperating SystemsProgramming LanguagesVirtualizationTiming AnalysisTiming ModelingBytecode Virtual MachinesExecution Time AnalysisExecution Time EstimationInstruction Timing AnalysisPrecisionSoftware Timing Analysis
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. In particular our results show the existence of a strong linear correlation between both techniques.
13
The Jalapeño dynamic optimizing compiler for Java
Michael Burke, Jong-Deok Choi, Stephen J. Fink et al. · 1999 · 275 citations
Platform independent dynamic Java virtual machine analysis
Charles A. Daly, Jane M. Horgan, James F. Power et al. · 2001 · 53 citations