Merge "Increase R8 max heap size to 4GB."

This commit is contained in:
Treehugger Robot 2022-08-08 18:08:16 +00:00 committed by Gerrit Code Review
commit f48643dc55

View file

@ -89,7 +89,7 @@ func init() {
// D8 invocations are shorter lived, so we restrict their JIT tiering relative to R8.
// Note that the `-JXX` prefix syntax is specific to the R8/D8 invocation wrappers.
exportedVars.ExportStringListStaticVariable("D8Flags", append([]string{
"-JXmx2048M",
"-JXmx4096M",
"-JXX:+TieredCompilation",
"-JXX:TieredStopAtLevel=1",
}, dexerJavaVmFlagsList...))