- Java Virtual Machine
- method area
- operand stack
- constant pool
- local variables
- heap
- Java bytecode instructions
- class files
- code generation techniques
- printing strings
- string concatenation
- string interpolation
- compilation by transformation
- LLVM compiler infrastructure
- calling conventions
- stack frames in the JVM
- stack frames in register-based machines
- CDECL
- STDCALL
- FASTCALL
![View slides on Slideshare](Code Generation.jpg)
-
Tim Lindholm, Frank Yellin, Gilad Bracha, and Alex Buckley (2013). The Java Virtual Machine Specification.
-
Bill Venners (2000). Inside the Java 2 Virtual Machine. McGraw-Hill.
-
Chris Lattner (2012). LLVM. In: The Architecture of Open Source Applications.
-
Zef Hemel, Lennart C. L. Kats, Danny M. Groenewegen, and Eelco Visser (2010). Code generation by model transformation. A case study in transformation modularity. SoSym 9(3), Springer.