Skip to content

Conversation

@jechter
Copy link

@jechter jechter commented Aug 15, 2018

In order to control Boehm gc behavior to turn on incremental mode, and to turn on "strict write barrier mode" for write barrier validation, we use the GC parameters in mono. These can be either supplied through an environment variable, or by mono command line (which we pass to mono on initialization in the embedded case). We would rather use the command line, as that is easier to control by unity, but that was only supported in sgen. This PR unifies the parameter querying code between sgen and boehm to use the same code path, and to support getting parameters from the command line.

@jechter jechter requested a review from joncham August 15, 2018 09:54
@jechter jechter merged commit 280120d into unity-master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants