Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some runtime controls for CGC #163

Merged
merged 3 commits into from
Aug 30, 2022
Merged

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