The FJIT uses the emit_trap_gc() macro to emit code that indicates GC safe points. Within methods, it emits GC polls on backward branches and a number of other constructs. Take a look at invocations of the macro in clr\src\fjit\fjit.cpp.
Barry -----Original Message----- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Gajah Mada Sent: Tuesday, September 14, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] Safe Points Hello, In the SSCLI, garbage collection can only occur only when all threads are at safe points in their execution and yield control to the collector. Can a collection occurs when a thread is in the middle of a method (i.e. the method has not exited)? Any existing documentations that elaborate the safe points for a thread in SSCLI? Gajah Mada =================================== This list is hosted by DevelopMentor(r) http://www.develop.com ASP.NET courses you may be interested in: Guerrilla.NET Sept 27-Oct 1, in Torrance http://www.develop.com/courses/gdotnetls Essential.NET Sept 20-24, in San Francisco Essential.NET Oct. 4-8, in London http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com ASP.NET courses you may be interested in: Guerrilla.NET Sept 27-Oct 1, in Torrance http://www.develop.com/courses/gdotnetls Essential.NET Sept 20-24, in San Francisco Essential.NET Oct. 4-8, in London http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com