OK you guys are good. I imagine that the average codebetter.com reader is outside the high side first standard deviation of the average .NET developers ...
And yes I guess I am in a way stealing this idea from Rico
I warn you this is a tough one.
So lets start, answers will be posted tomorrow or Saturday if I still see a lot of responses.
Pop Quiz:
We know what pinning is (it keeps the garbage collector from moving an object in memory during a collection as something may have its address that the GC can't control). All questions apply to the current 2.0 release of the CLR on an x86 platform.
Question 1:
What are the various ways that an object can be pinned?
Question 2:
What is heap fragmentation and why is it bad?
Question 3:
When is heap fragmentation not important?
Question 4:
How can you tell if an object is pinned?
Question 5:
Can a pinned object be promoted?
Leave answers in comments unless you know for a FACT you are right on them all ... then email them to me at gregoryyoung1@ that google email service and I will use them tomorrow.