2001 | OriginalPaper | Buchkapitel
The procedural extension JVM C of JVM I
verfasst von : Prof. Dr. Robert F. Stärk, Dipl.-Inf. Joachim Schmid, Prof. Dr. Egon Börger
Erschienen in: Java and the Java Virtual Machine
Verlag: Springer Berlin Heidelberg
Enthalten in: Professional Book Archive
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
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.