I want to learn the theory behind garbage collection. How do i go about it? The obvious answer is – a compiler textbook… The question is, is it necessary to learn lexical analysis, parsing and other stuff that usually precedes garbage collection in a text?
In short, what are the prerequisites to learning about Garbage collection theory?
P.S – I do know what is the purpose of parsing, lexical analysis etc. Just not how they are implemented.
Read these papers in order. They are in progressive subject matter/difficulty order (not chronological).
List taken directly from Prof. Kathryn McKinley’s Memory Management course page here, where you’ll find links to all the articles.
I took the course last semester, so I read all these and I have to say I learned what I set out to learn!
Note that links to freely-available copies of most of the papers below are included in the garbage-collection tag wiki at https://stackoverflow.com/tags/garbage-collection/info.