diff options
author | Sasha Smundak <asmundak@google.com> | 2019-07-09 11:26:20 -0700 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2019-09-04 15:00:31 +0200 |
commit | 84b220e846606471ef1e3d18a974b325b8d16cc6 (patch) | |
tree | 6a171dbff02912501f191a30274495e6b3469111 | |
parent | 8fa121dc8905d109dc9461c7810c8d70449132f8 (diff) | |
download | build_soong-84b220e846606471ef1e3d18a974b325b8d16cc6.tar.gz build_soong-84b220e846606471ef1e3d18a974b325b8d16cc6.tar.bz2 build_soong-84b220e846606471ef1e3d18a974b325b8d16cc6.zip |
Tune invocations and print full diagnostics on crash for d8 and r8.
Bug: 132766811
Test: treehugger
Change-Id: Id6943008e65b9dc3479e8758445e8d679529a8cb
-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 7f968bcc..7263205b 100644 --- a/java/config/config.go +++ b/java/config/config.go @@ -53,7 +53,7 @@ func init() { pctx.StaticVariable("JavacHeapSize", "2048M") pctx.StaticVariable("JavacHeapFlags", "-J-Xmx${JavacHeapSize}") - pctx.StaticVariable("DexFlags", "-JXX:+TieredCompilation -JXX:TieredStopAtLevel=1") + pctx.StaticVariable("DexFlags", "-JXX:OnError='cat hs_err_pid%p.log' -JXX:CICompilerCount=6 -JXX:+UseDynamicNumberOfGCThreads") pctx.StaticVariable("CommonJdkFlags", strings.Join([]string{ `-Xmaxerrs 9999999`, |