[Mono-list] x86 JIT

John Zedlewski zedlwski@Princeton.EDU
Wed, 11 Jul 2001 15:52:08 -0400


> Maybe I'm missing something, but how does this scheme communicate to
the
> collector which temporaries and registers contain pointers to objects.

Kevin, 
  You're actually dead right, the scheme I mentioned doesn't say
anything about registers or temps, because I think that would be highly
dependent on the exact garbage collector style you want to use.  I think
the traditional approach is to say that GC can only occur at inserted
"safe points" where the format of the temporaries and registers is
known. Since CLI lets you stack-allocate local objects, it doesn't use
nearly as many local references to GC-described objects as, say, the
JVM, so we get off kind of easy with the number of local sites we need
to monitor.

--JRZ