In this lecture we look a bit further at run-time
organisation, especially garbage collection.
The slides for this lecture can be found here.
Sebesta 6.9, Watt & Brown 6.6 and the article:
“Uniprocessor Garbage Collection Techniques”, by Paul R. Wilson. Follow this
link to download a copy
or this link for a local copy.
As background reading I can recommend the website www.memorymanagement.org,
especially the beginner’s
guide.
You may also enjoy reading about memory management in
C# and on .Net in general, see the article Memory
Management in .NET
You may also enjoy a visualisation of how garbage
collection works on the website Heap of Fish
Java Applet - an Interactive Illustration of Garbage Collection
Exercises for lecture 11 will be done from 12.30 till
14.15 before Lecture 12 on Tuesday the 13th of April.
The following exercises are best done as group
discussions:
You should limit the discussion to about 5 minutes per
question.
The following exercises you may prefer to do on your
own or in pairs and discuss the outcome with your group: