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 interpreted languages. Such languages are usually compiled to some intermediate representation instead of native machine code, this intermediate representation is then parsed and executed by the corresponding managed runtime system. In this course we study how managed programming languages are implemented in the managed runtime systems, and more specifically the Java programming language. We also focus on how automatic memory management works, and how just-in-time compilers optimize code on the fly.
Lectures will take place at A.121 every Tuesday 14:00-16:00 and Thursday 12:00-14:00.
|05/02/2018||1||Introduction: What is a managed runtime system||Slides (Course Intro)||Slides (VMs Intro)||--|
|12/02/2018||2||Bytecode Interpretation||Slides (The JVM)||Slides (GC Intro)||Reading (Interpreters)|
|19/02/2018||3||Garbage Collection||Paper (Interpreters)||Slides (GC Intro2)||--|
|26/02/2018||4||Just In Time Compilation||Slides (JIT 1)||Tutorial (G1)||Reading (G1)|
|05/03/2018||5||Just In Time Compilation||Slides (JIT 2)||Paper (JIT History)||Reading (JIT History)|
|12/03/2018||6||Metacircular VMs||Slides (Metacircular)||Paper (Maxine VM)||Reading (Maxine VM)|
|19/03/2018||7||Metacircular VMs||Tutorial (Maxine VM)||Slides (Truffle)||--|
|26/03/2018||8||Concurrency and Memory Models||Slides (Concurrency)||Paper (JMM)||Reading (JMM)|
|16/04/2018||9||Concurrency and Memory Models||Slides (Java Concurrency)||Paper (JDMM)||Reading (JDMM)|
|23/04/2018||10||Advanced Garbage Collection||Slides||Paper (Performance)||Reading (Performance)|
|30/04/2018||11||Profiling and Adaptive Optimization||Slides (Guest: Dr. Kotselidis)||--||--|
|07/05/2018||12||(Optional) Project discussions||--||--||--|
|14/05/2018||13||Project Presentations||Project Presentations||Project Presentations||--|
Material / Slides
The slides of the course will be 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 15/03/2018!
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.
I kindly thank Dr. Christos Kotselidis for his insightful presentation regarding "The Art of Java Performance" and the exciting live demo.