Worst-Case Execution Time Based Optimization of Real-Time Java Programs

Stefan Hepp, Martin Schoeberl

    Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

    Abstract

    Standard compilers optimize execution time for the average case. However, in hard real-time systems the worst-case execution time (WCET) is of primary importance. Therefore, a compiler for real-time systems shall include optimizations that aim to minimize the WCET. One effective compiler optimization is method in lining. It is especially important for languages, like Java, where small setter and getter methods are considered good programming style. In this paper we present and explore WCET driven in lining of Java methods. We use the WCET analysis tool for the Java processor JOP to guide to optimization along the worst-case path. The tool JCopter is integrated with the WCET analysis tool and is used to explore different in lining strategies. On real-time benchmarks the optimization results in a reduction of the WCET by a few percent up to a factor of about 2.
    Original languageEnglish
    Title of host publication2012 IEEE 15th International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC)
    PublisherIEEE
    Publication date2012
    Pages64-70
    ISBN (Print)978-1-4673-0499-3
    DOIs
    Publication statusPublished - 2012
    Event2012 15th IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, ISORC - Guangdong, China
    Duration: 11 Apr 201213 Apr 2012

    Conference

    Conference2012 15th IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, ISORC
    Country/TerritoryChina
    CityGuangdong
    Period11/04/201213/04/2012

    Fingerprint

    Dive into the research topics of 'Worst-Case Execution Time Based Optimization of Real-Time Java Programs'. Together they form a unique fingerprint.

    Cite this