Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1167999.1168034acmotherconferencesArticle/Chapter ViewAbstractPublication PagesjtresConference Proceedingsconference-collections
Article

JIT compiler optimizations for stack-based processors in embedded platforms

Published: 11 October 2006 Publication History

Abstract

This paper describes the optimizations introduced in porting the CDCHI virtual machine to an ST20-based platform for set-top-boxes. ST20 is a VL-RISC processor by STMicroelectronics featured by a stack-based architecture; this characteristic suggests an easy porting of a Java virtual machine and the associated JIT compiler. However, since the stack of ST20 is very limited (it has only three locations), proper techniques are needed in order to avoid frequent (and heavy) "spill" operations, i.e. saving the content of one or more stack's element---because they are still required by future operations---to make space for data needed by the next instruction to be executed. To face such an issue, two kind of optimizations are introduced, one at compile time and another at run time: both aim at organizing resources, on the ST20 stack, in order to reduce the number of spill operations required. These optimizations not only permit to save memory space---as the resulting code is smaller---but also improve JIT compiler and Java program execution performances.

References

[1]
D. Consortium. http://www.dvb.org, 2006.
[2]
M. Consortium. http://www.mhp.org, 2006.
[3]
M. A. Ertl. Implementation of Stack-Based Languages on Register Machines, PhD thesis, Technische Universitat Wien, 1996.
[4]
A. Krall. Efficient JavaVM Just-in-Time Compilation. In Seventh International Conference on Parallel Architectures and Compilation Techniques (PACT'98), 1998.
[5]
T. Lindholm and F. Yellin. The Java Virtual Machine Specification. Addison-Wesley, 1996.
[6]
S. Microsystems. CDC and Foundations Porting Guide, 2002.
[7]
S. Microsystems. CDC and Foundations release notes, 2002.
[8]
S. Microsystems. CDC HotSpot ImplementationVirtual Machine, 2004.
[9]
S. Microsystems. CDC, CVM, Foundation Profile reference, http://java.sun.com/products/cdc/, 2006.
[10]
S. Microsystems. J2ME reference, http://java.sun.com/products/j2me/, 2006.
[11]
R. Morgan. Building an Optimizing Compiler. Digital Press, 1998.
[12]
STMicroelectronics. OS20 User Manual, 2003.
[13]
STMicroelectronics. ST20-C2 Instruction Set Reference Manual, 2003.
[14]
STMicroelectronics. ST20 Embedded Toolset R2.0 Reference Manual, 2003.
[15]
B. Venners. Inside the Java Virtual Machine. McGraw-Hill, 2001.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
JTRES '06: Proceedings of the 4th international workshop on Java technologies for real-time and embedded systems
October 2006
242 pages
ISBN:1595935444
DOI:10.1145/1167999
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 October 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. CDCHI
  2. JIT compilers
  3. ST20
  4. embedded systems
  5. set-top-boxes

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 50 of 70 submissions, 71%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 352
    Total Downloads
  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Nov 2024

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media