MURAL - Maynooth University Research Archive Library



    Platform Independent Timing of Java Virtual Machine Bytecode Instructions


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

    [img]
    Preview
    Download (386kB) | Preview


    Share your research

    Twitter Facebook LinkedIn GooglePlus Email more...



    Add this article to your Mendeley library


    Abstract

    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
    Additional Information: Published under a Creative Attribution-NonCommercial-NoDerivs 3.0 Unported Licence (CC BY-NC-ND 3.0) http://creativecommons.org/licenses/by-nc-nd/3.0/
    Keywords: Java Virtual Machine; Bytecode Timing; Bytecode Sequences; RDTSC;
    Academic Unit: Faculty of Science and Engineering > Computer Science
    Item ID: 6382
    Identification Number: https://doi.org/10.1016/j.entcs.2008.11.021
    Depositing User: Dr. James Power
    Date Deposited: 22 Sep 2015 15:00
    Journal or Publication Title: Electronic Notes in Theoretical Computer Science
    Publisher: Elsevier
    Refereed: Yes
    URI:
    Use Licence: This item is available under a Creative Commons Attribution Non Commercial Share Alike Licence (CC BY-NC-SA). Details of this licence are available here

    Repository Staff Only(login required)

    View Item Item control page

    Downloads

    Downloads per month over past year

    Origin of downloads