Merge "Limit JIT tier for javac" am: 52ef4c3373

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1964540

Change-Id: I007dad91336606d9d3c5148bd86310c51d97d717
This commit is contained in:
Treehugger Robot 2022-01-28 22:19:17 +00:00 committed by Automerger Merge Worker
commit cc5e84c5a1

View file

@ -60,7 +60,7 @@ var (
const (
JavaVmFlags = `-XX:OnError="cat hs_err_pid%p.log" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads`
JavacVmFlags = `-J-XX:OnError="cat hs_err_pid%p.log" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads`
JavacVmFlags = `-J-XX:OnError="cat hs_err_pid%p.log" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1`
)
func init() {