Increase R8 max heap size to 4GB.

Bug: 241220562
Test: Manual
Change-Id: I983ded61b3a588e3d3b5c8e71596f80aaa2d59e6
This commit is contained in:
Jordan Demeulenaere
2022-08-08 11:40:15 +02:00
parent bfe0342e73
commit c33f79996f

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...))