CS577 Modern Language Processors Winter 2004
Final Exam
Course Information
Homework
Readings
-
Read for Jan. 12:
-
Appel, Modern Compiler Implementation, Ch. 1.
-
Bill Venners,
Inside the Java 2 Virtual Machine, Chs. 1 and 5.
-
If you are unfamiliar with Java, skim a good introductory textbook, such as
Arnold, Gosling, and Holmes, The Java Programming Language, Addison-Wesley.
-
Read for Jan. 21:
-
Read for Jan. 28:
-
Read for Feb. 4:
- Appel textbook, Ch. 10 and 17.
Read for Feb. 11:
- Appel textbook, Ch. 18 and 19.
Read for Feb. 23:
Read for Mar. 3:
Read for Mar. 8:
Project Information
Lecture Materials
Useful Resources
- JVM Implementations with sourcecode
- Benchmarks
The single most useful set of meaningful benchmarks available for free is
from the Java Grande Forum.
Users on the CS Solaris network can access the source and .class files in
directory /u/apt/jgf/v2.0. These benchmarks are biased towards floating point array
computations. I'd recommend running a combination of floating point and integer
benchmarks, including some that create lots of objects, from sections 2 and 3.
Good possibilities include raytracer, heapsort, and crypt. Note that some of
the benchmarks run a long time, even in the smallest ("A") size; be kind to
your fellow users if running these on a shared machine.
- Books about Java Bytecode
- Tim Lindholm & Frank Yellin, The Java Virtual Machine Specification, 2nd ed., happily available on-line
- Bill Venners, Inside the Java 2 Virtual Machine, McGraw-Hill, 1999.
Substantial portions of this book are also available
on-line. This is probably the best book to look at first.
- Jon Meyer & Troy Downing,Java Virtual Machine, O'Reilly 1997. This is available from the PSU library
as an ebook.
- Joshua Engel,Progrmamming for the Java Virtual Machine, Addison-Wesley, 1999.
- General Books on Compilers
- Al Aho, Ravi Sethi, and Jeff Ullman, Compilers: Principles, Tools, and Techniques, Addison-Wesley, 1986. (PSU Reserve)
- Steve Muchnick, Advanced Compiler Design & Implmentation, Morgan Kaufmann, 1997. (PSU Reserve)
- Christopher Fraser and David Hanson,A Retargetable C Compiler: Design and Implementation, Benjamin/Cummings, 1995. (PSU Reserve)
- Keith Cooper and Linda Torczon,Engineering a Compiler, Morgan Kaufmann, 2003.
- Randy Allen and Ken Kennedy,Optimizing Compilers for Modern Architectures, Morgan Kaufmann, 2002.
- Robert Morgan,Building an Optimizing Compiler, Digital Press, 1998.
- Books on Garbage Collection
- Richard Jones and Rafael Lins, Garbage Collection: Algorithms for Automatic Dynamic Memory Management, Wiley, 1996.