Skip to content

Conversation

@shwestrick
Copy link
Collaborator

Adds three @mpl ... -- runtime settings for CGC:

  • max-cc-depth: max depth allowed for a CGC. Default is 3. Increasing this enlarges the scope of CGC, the impact of which is not clear yet. In general, we recommend keeping CGC shallow.
  • cc-threshold-ratio: max allowable current-size/survived ratio for CGC. Default is 2.0 (very eager). Increasing this will increase space usage, and decrease the total amount of work performed by CGC.
  • max-cc-chain-length: max number of simultaneous CGCs allowed per heap. Default 2. The impact of this isn't clear yet (should do some experiments)

@shwestrick shwestrick merged commit a141bc3 into MPLLang:master Aug 30, 2022
@shwestrick shwestrick deleted the cgc-controls branch August 30, 2022 15:30
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.

1 participant