Skip to content

Commit

Permalink
Add incremental GC to moc.js (#3976)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity authored May 13, 2023
1 parent 6733997 commit 88b1102
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,5 @@ let gc_flags option =
| "copying" -> Flags.gc_strategy := Mo_config.Flags.Copying
| "marking" -> Flags.gc_strategy := Mo_config.Flags.MarkCompact
| "generational" -> Flags.gc_strategy := Mo_config.Flags.Generational
| "incremental" -> Flags.gc_strategy := Mo_config.Flags.Incremental
| _ -> raise (Invalid_argument "gc_flags: Unexpected flag")

1 comment on commit 88b1102

@luc-blaeser
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, Yan

Please sign in to comment.