Skip to main content

2001 | OriginalPaper | Buchkapitel

Correctness of the compiler

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

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

In this chapter we formulate and prove the correctness of the compiler for Java ε programs. The goal of the chapter is to show that the run of the ASM for a Java ε program is equivalent to the corresponding run of the JVM ε for the compiled program, based upon a precise definition of the equivalence between a Java ε run and its implementation by a JVM ε run. For example, the run of the Java ε program is finite if and only if the run of the compiled JVM ε program is finite. The correspondence of states to be compared in the two runs will be made explicit by a mapping n ↦ σ(n)with the following properties: 1.If m ≤ n, then σ(m)≤ σ (n)2.The nth state in the run of the Java ε program is equivalent to state σ(n)in the run of the compiled JVM ε program

Metadaten
Titel
Correctness of the compiler
verfasst von
Prof. Dr. Robert F. Stärk
Dipl.-Inf. Joachim Schmid
Prof. Dr. Egon Börger
Copyright-Jahr
2001
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-59495-3_14