tutorials or examples on front-ends with a garbage collector

Hi all,
I’m working on a toy language and I want all objects which type is a class managed by a garbage collector, just like Jave do.

But after two days of investigation, I lost in tons of concepts and theories, but still don’t have a clue on what to do.

The documents about garbage collectors on llvm site seems for experts, and I wish if there exist some tutorials just like Implementing a language with LLVM, which will make me focus on implementing the language itself.

Any suggestions?

If you’re going to be at llvm-dev meeting next week, find me and I’ll walk you through the concepts. If you’re not, send me a off list email and we’ll setup a time for a phone conversation. I’m happy to explain, but doing so in spoken conversation is much easier than writing.