The aim of this course is to introduce students to the world of managed runtime systems. Managed runtime systems are the ones responsible for executing managed programming languages, such as Python, Java, etc.
In this course we study how managed programming languages are implemented in the managed runtime systems. The course is mainly focused on the Java programming language and the Java Virtual Machine (JVM).
Lectures will take place at A.121 every Monday, Wednesday, and Thursday 14:00-16:00 according to the schedule below. Please note that the schedule is subject to change.
|04/02/2019||1||Introduction & Byte-code interpretation||Slides (Course Intro)||Slides (VMs Intro)||Slides (The JVM)||Reading (Interpreters)|
|11/02/2019||2||Garbage Collection||Slides (GC Intro)||Paper (Interpreters)||Slides (GC Intro2)||Reading (G1)|
|18/02/2019||3||Just In Time Compilation||Slides (JIT 1)||Tutorial (G1)||Slides (JIT 2)||Reading (JIT History)|
|25/02/2019||4||Metacircular VMs||Slides (Metacircular)||Paper (JIT History)||Tutorial (Maxine VM)||Reading (Maxine VM)|
|04/03/2019||5||Metacircular VMs||Slides (Truffle)||Paper (Maxine VM)||--||--|
|01/04/2019||9||Memory Models||--||Paper (JMM)||Paper (JDMM)||Reading (JDMM)|
|08/04/2019||10||Concurrency||Slides (Concurrency)||Slides (Java Concurrency)||--||--|
|15/04/2019||11||Advanced Garbage Collection||Slides||--||--||Reading (Performance)|
|22/04/2019||12||Profiling and Adaptive Optimization||Paper (Performance)||Slides (Guest: Dr. Kotselidis)||--||--|
|13/05/2019||13||Project Presentations||Project Presentations||Project Presentations||Project Presentations||--|
Material / Slides
The slides of the course are available in PDF format at https://speakerdeck.com/zakkak.
For the source code (LaTeX Beamer) of the slides you can visit https://github.com/zakkak/Managed-Runtime-Systems-Course.
|Reading Assignments||35% (7x5%)|
During this course you will be asked to read a number of scientific papers covering the topics at hand. In total you will be asked to read 7 scientific papers and you will be assigned to deliver a short summary for each of them. We will discuss each paper in the classroom to better understand them and answer any questions you might come up with.
Your summary should answer the following questions:
- What is the key point of the paper? (If it is the survey, what are the key techniques it presents?)
- What did you like the most in the paper?
- What could be improved in the presentation/content of the paper?
- Do you have any ideas on how to improve the presented idea/technique?
- On a scale of 0-5, with 5 being the most positive, how would you rate the paper?
A Google form for each paper has been created, please fill it before the beginning of the lecture where we will discuss the corresponding paper.
- The Structure and Performance of Efficient Interpreters (2003)
- Garbage-First Garbage Collection (2004)
- A Brief History of Just-In-Time (2003)
- Maxine: An approachable virtual machine for, and in, java (2013)
- The Java Memory Model (2005)
- JDMM: A Java Memory Model for Non-Cache-Coherent Memory Architectures (2014)
- Statistically Rigorous Java Performance Evaluation (2007)
You can either work alone or form a team of two. For your project you can either focus on JIT compilation or Garbage Collection.
You shall choose and propose a project on your own. The project proposal should answer the following questions:
- What do you find interesting in the project?
- What do you expect to learn through this project implementation?
- How are you going to demonstrate the success of your project?
You are strongly encouraged to work on Maxine VM for your project, but projects on openJDK (or other VMs, even non-Java VMs) will be also accepted.
Projects will be developed on github and will be based on the latest release of the corresponding VM you will chose to work on.
Project proposal deadline
Please submit your project proposals by 04/03/2019!
If you want feedback please submit earlier.
You can contact me directly via e-mail or through the course's mailing list
hy446-list |at| csd.uoc.gr.
2018 -- I kindly thank Dr. Christos Kotselidis for his insightful presentation regarding "The Art of Java Performance" and the exciting live demo.
Inspiration and Material
- I would like to thank Mario Wolczko for sharing his material and experiences from a similar course he taught at UC Berkeley. The original material of his course can be found here.
- I would like to thank Aleksey Shipilёv for the creation of the "JVM Anatomy Park" that provides a set of great examples and anecdotes to toy around in tutorials.