platform_build_soong/java/config
Jared Duke 0cf7c9686d Limit JIT tier for D8
Standalone D8 invocations tend to be shorter-lived than R8 invocations
that involve deeper layers of bytecode optimization. Introduce a
separate set of JVM flags to pass to D8 invocations which limit the
runtime JIT tiering, reducing overall compile times and significantly
reducing total CPU consumption for D8 build workloads.

Representative incremental build times with this change:
 * real 6m1.388s
 * user 63m32.412s
and without:
 * real 6m30.624s
 * user 79m12.626s

Bug: 205303544
Test: time m
Change-Id: Ic568a4316325c6a4e0da41ffebbb07f0c5f7e8e3
2022-04-21 18:24:52 +00:00
..
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
config.go Limit JIT tier for D8 2022-04-21 18:24:52 +00:00
error_prone.go export Java variables to Bazel 2022-04-08 14:15:43 +00:00
kotlin.go Enable kotlin's jvm-abi-gen plugin to generate header jars 2022-04-04 16:42:46 -07:00
makevars.go Limit JIT tier for D8 2022-04-21 18:24:52 +00:00