13.10.2014 Views

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

31<br />

codelets shown in this example are small, as are the codelets for many of the bytecodes<br />

defined by the Java Virtual Machine Specification. Each codelet terminates with a<br />

goto statement which transfers the flow of control back to the top of the interpreter’s<br />

execution loop.<br />

2.7 Summary<br />

This chapter has presented background information related to the Java Programming<br />

Language and Java Virtual Machines. It began by describing the historical events<br />

which lead to the creation of Java. This was followed by a description of a Java Virtual<br />

Machine, including different techniques that can be employed to implement a Java<br />

interpreter, a discussion of the core data structures within a Java Virtual Machine<br />

and an overview of the Java bytecodes that represent a Java application. This was<br />

followed by a list of several Java Virtual Machine implementations. Additional details<br />

were provided about the implementations considered in the studies presented later in<br />

this thesis. The chapter concluded with a detailed look at the code for a simple Java<br />

interpreter.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!