commit | f618c60df65640241ddde6e495e716a67dbdc760 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jun 01 17:59:45 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jun 01 17:59:45 2023 +0000 |
tree | 3bf8299ae533b219b203d66b7378b86bb48f4db6 | |
parent | 5b7035f850612aecfd67b7099e62ce82659b3041 [diff] | |
parent | 225c4767ac4d19fed88f481edcafe5a220ca9ea0 [diff] |
Merge "Only pass "-Xgc:CMC" when building for Android."
diff --git a/java/dexpreopt_bootjars.go b/java/dexpreopt_bootjars.go index 116c833..35f6097 100644 --- a/java/dexpreopt_bootjars.go +++ b/java/dexpreopt_bootjars.go
@@ -816,7 +816,7 @@ cmd.FlagWithArg("--instruction-set-features=", global.InstructionSetFeatures[arch]) } - if global.EnableUffdGc { + if global.EnableUffdGc && image.target.Os == android.Android { cmd.Flag("--runtime-arg").Flag("-Xgc:CMC") }