NORMA eResearch @NCI Library

Platform Independent Timing of Java Virtual Machine Bytecode Instructions

Lambert, Jonathan and Power, James F. (2008) Platform Independent Timing of Java Virtual Machine Bytecode Instructions. Electronic Notes in Theoretical Computer Science (ENTCS), 220 (3). pp. 97-113. ISSN 1571-0661

Full text not available from this repository.
Official URL:


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.

Item Type: Article
Subjects: Q Science > QA Mathematics > Computer software
T Technology > T Technology (General) > Information Technology > Computer software
Divisions: Student Services Publications
Depositing User: Timothy Lawless
Date Deposited: 28 May 2014 15:56
Last Modified: 07 Sep 2016 13:48

Actions (login required)

View Item View Item