Increase R8 max heap size to 4GB.
Bug: 241220562 Test: Manual Change-Id: I983ded61b3a588e3d3b5c8e71596f80aaa2d59e6
This commit is contained in:
@@ -89,7 +89,7 @@ func init() {
|
|||||||
// D8 invocations are shorter lived, so we restrict their JIT tiering relative to R8.
|
// 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.
|
// Note that the `-JXX` prefix syntax is specific to the R8/D8 invocation wrappers.
|
||||||
exportedVars.ExportStringListStaticVariable("D8Flags", append([]string{
|
exportedVars.ExportStringListStaticVariable("D8Flags", append([]string{
|
||||||
"-JXmx2048M",
|
"-JXmx4096M",
|
||||||
"-JXX:+TieredCompilation",
|
"-JXX:+TieredCompilation",
|
||||||
"-JXX:TieredStopAtLevel=1",
|
"-JXX:TieredStopAtLevel=1",
|
||||||
}, dexerJavaVmFlagsList...))
|
}, dexerJavaVmFlagsList...))
|
||||||
|
Reference in New Issue
Block a user