Merge "Tune JVM, print full diagnostics on crash." am: 90aa101152

am: 8975b8f376

Change-Id: I85865160062d8ced76a239e9e5becbeff92227c9
This commit is contained in:
Alexander Smundak
2019-06-12 09:06:07 -07:00
committed by android-build-merger
6 changed files with 16 additions and 13 deletions

View File

@@ -70,6 +70,8 @@ func init() {
// b/65004097: prevent using java.lang.invoke.StringConcatFactory when using -target 1.9
`-XDstringConcat=inline`,
}, " "))
pctx.StaticVariable("JavaVmFlags", "-XX:OnError=\"cat hs_err_pid%p.log\" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads")
pctx.StaticVariable("JavacVmFlags", "-J-XX:OnError=\"cat hs_err_pid%p.log\" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads")
pctx.VariableConfigMethod("hostPrebuiltTag", android.Config.PrebuiltOS)