Title | StackContext and MutatorContext could be unified |
Status | open |
Priority | optional |
Assigned user | Richard Brooksby |
Organization | Ravenbrook |
Description | The StackContext and MutatorContext structures both represent infomation about a mutator thread that is needed by ThreadScan in order to scan the thread's register and stack roots when a trace flips. StackContext is used when the thread entered the MPS via an API entry point, while MutatorContext is used when the thread entered the MPS via a barrier hit or via being suspended. The distinction between these two context structures makes the code in ThreadScan less clear, and also makes it harder to implement concurrent MPS (job003970) or to flip inside a barrier hit. |
Analysis | See <https://info.ravenbrook.com/mail/2016/03/03/09-52-34/0/ >. |
How found | unknown |
Evidence | <https://info.ravenbrook.com/mail/2016/03/03/09-52-34/0/ > |
Created by | Richard Brooksby |
Created on | 2016-03-08 10:17:23 |
Last modified by | Gareth Rees |
Last modified on | 2018-09-19 13:07:22 |
History | 2016-03-08 RB Created |