Mill Computing, Inc. › Forums › The Mill › Architecture › Execution › Reply To: Execution
I’ve seen mention in these fora that the Mill provides some support for garbage collectors. I’d like to ask a few questions on the topic if I may.
(1) Garbage collection typically involves a “stop the world” event where threads in the mutator are temporarily suspended, at least for the purposes of identifying roots. Stopping the world can be quite costly. Does the Mill offer any special support in this regard?
(2) Each concurrently executing thread may have pointers sitting on its belt. How can the GC get access to these during root marking?
(3) Many collectors compact memory. Since pointers can live on the belt and/or may have been squirreled away by the spiller, how should the GC take this into account?
Apologies for asking more than one question in a single post, but they are closely related.