[K/N] Add cms related targets and compiler option

This commit is contained in:
Pavel Kunyavskiy
2021-11-23 11:55:06 +03:00
committed by Space
parent 03299023f1
commit df4b367296
8 changed files with 119 additions and 56 deletions
@@ -315,6 +315,10 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
assertGcSupported()
GC.SAME_THREAD_MARK_AND_SWEEP
}
"cms" -> {
assertGcSupported()
GC.CONCURRENT_MARK_AND_SWEEP
}
else -> {
configuration.report(ERROR, "Unsupported GC ${arguments.gc}")
GC.SAME_THREAD_MARK_AND_SWEEP