Advertisement

The procedural extension JVMC of JVMI

  • Robert F. Stärk
  • Joachim Schmid
  • Egon Börger
Chapter

Abstract

In this chapter we extend the machine JVM I to a JVM submachine JVM C which can execute compiled Java c programs. The extension consists in adding rules for handling class variables, and for method invocation and return. We introduce a submachine switchVM C which takes care of frame stack manipulations—upon method invocation or return and upon implicit class initialization—and which will be extended in switchVM E for frame manipulations due to capturing exceptions. We also extend the Java I -to-JVM I compilation scheme by translating the new Javac expressions and statements to JVM C code.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2001

Authors and Affiliations

  • Robert F. Stärk
    • 1
  • Joachim Schmid
    • 2
  • Egon Börger
    • 3
  1. 1.Theoretische InformatikETH ZentrumZürichSwitzerland
  2. 2.Siemens AGMünchenGermany
  3. 3.Dipartimento di InformaticaUniversità di PisaPisaItaly

Personalised recommendations