diff options
| author | 2022-08-08 11:40:15 +0200 | |
|---|---|---|
| committer | 2022-08-08 11:40:15 +0200 | |
| commit | c33f79996f0a2d88a499326369a17c439ed38c9b (patch) | |
| tree | 1d5270bb2f2ab09db36a2edde92715447f2dc1e6 /java/config/config.go | |
| parent | bfe0342e732d0dd784c6343b850e9dee605047f7 (diff) | |
Increase R8 max heap size to 4GB.
Bug: 241220562
Test: Manual
Change-Id: I983ded61b3a588e3d3b5c8e71596f80aaa2d59e6
Diffstat (limited to 'java/config/config.go')
| -rw-r--r-- | java/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/config/config.go b/java/config/config.go index 1d4b242f9..3ca9bad3e 100644 --- a/java/config/config.go +++ b/java/config/config.go @@ -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...)) |