summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2022-01-28 11:30:16 -0800
committer Jared Duke <jdduke@google.com> 2022-01-28 11:39:47 -0800
commit0849c14aea2eb11479ddffb50c5467f18fd42da9 (patch)
treee9989f69f197df89ff0caa4f825b76a7d4bdc6f4 /rust/compiler.go
parent8bb0d8f55d6ba71e82d94417ba4417d521ca29ed (diff)
Limit JIT tier for javac
javac is generally a short-lived JVM invocation that doesn't greatly benefit from deep JIT tiering. As such, favor faster startup time by limiting to tier 1 JIT for javac execution. This should greatly reduce overall CPU usage from Java compilation for an arbitrary Android build (~20%), and deliver a small but modest improvement in overall Java build times (~5%). Representative incremental build times with this change: * real 18m3.507s * user 563m4.838s and without: * real 19m11.909s * user 751m27.790s Follow-up changes will apply similar flags for other short-lived JVM build commands. Bug: 205303544 Test: m Change-Id: Ic6315b976063f4330902930a6cf5e5cb394c554c
Diffstat (limited to 'rust/compiler.go')
0 files changed, 0 insertions, 0 deletions