platform_build_soong/java
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
..
config Limit JIT tier for D8 2022-04-21 18:24:52 +00:00
core-libraries Rename core-current-stubs-system-modules to be more consistent 2021-11-03 16:58:29 +00:00
aapt2.go
aar.go Document AARImportProperties fields 2022-04-13 02:12:37 +00:00
Android.bp Export provenance metadata for prebuilt APKs and APEXes. 2022-04-05 16:16:16 -07:00
android_manifest.go Manifest Fixer Params code refactor 2022-02-10 13:37:50 +00:00
android_resources.go Initial bp2build converter for android_app. 2021-12-07 09:41:49 -05:00
androidmk.go Revert "Revert "Build notice files from license metadata."" 2022-04-01 18:00:00 +00:00
androidmk_test.go
app.go Don't panic if no certificates found 2022-04-11 11:50:34 -07:00
app_builder.go
app_import.go Fix documentation for android_app_import 2022-04-13 21:40:23 +00:00
app_import_test.go Export provenance metadata for prebuilt APKs and APEXes. 2022-04-05 16:16:16 -07:00
app_set.go Install android_app_set modules in Soong 2021-11-17 19:55:33 -08:00
app_set_test.go Extract primary apk from apk set zip 2021-11-17 19:55:33 -08:00
app_test.go Don't panic if no certificates found 2022-04-11 11:50:34 -07:00
base.go Merge "Update doc for Platform_apis field in DeviceProperties" 2022-04-19 00:14:16 +00:00
boot_jars.go
bootclasspath.go
bootclasspath_fragment.go Make bootclasspath_fragment hidden API package checks exhaustive 2022-03-18 10:54:51 +00:00
bootclasspath_fragment_test.go
builder.go Revert "Use kapt stubs for kotlin header jar for javac" 2022-04-06 07:04:09 +00:00
classpath_element.go
classpath_fragment.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
device_host_converter.go Add android_sdk_repo_host to build platform-tools&build-tools 2021-10-13 01:25:02 -07:00
device_host_converter_test.go
dex.go Limit JIT tier for D8 2022-04-21 18:24:52 +00:00
dex_test.go Don't pass static libs to r8 2022-03-18 20:48:27 +00:00
dexpreopt.go Allow installing boot images outside of APEX. 2022-01-13 14:50:05 +00:00
dexpreopt_bootjars.go Merge "Pass --preloaded-classes to boot image compilation." 2022-03-18 13:41:59 +00:00
dexpreopt_bootjars_test.go
dexpreopt_check.go Update dexpreopt_check to check all system server jars. 2021-12-21 12:51:36 +00:00
dexpreopt_config.go Pass --preloaded-classes to boot image compilation. 2022-03-15 14:28:38 +00:00
dexpreopt_test.go
droiddoc.go Add AIDL enforce_permissions attribute 2022-02-24 10:15:27 +11:00
droiddoc_test.go
droidstubs.go Merge "Enable restat for sbox rules" 2022-04-05 22:49:10 +00:00
droidstubs_test.go Add new file name to output inputs/outputs of actions of modules into a new file when m json-module-graph is executed. 2022-01-28 13:52:50 +08:00
fuzz.go Add java_fuzz_packaging 2022-01-12 18:48:39 +00:00
fuzz_test.go Add java_fuzz module to build java fuzzers 2022-01-06 02:17:34 +00:00
gen.go Add AIDL enforce_permissions attribute 2022-02-24 10:15:27 +11:00
genrule.go bp2build converts java_genrule and java_genrule_host 2022-01-21 17:50:40 +00:00
genrule_test.go bp2build converts java_genrule and java_genrule_host 2022-01-21 17:50:40 +00:00
hiddenapi.go Annotate more java dependencies for licensing 2022-01-28 15:42:06 -08:00
hiddenapi_modular.go Remove implementation details from stub flags in sdk snapshot 2022-04-12 17:44:15 +01:00
hiddenapi_monolithic.go
hiddenapi_singleton.go
hiddenapi_singleton_test.go Propagate the dex jar path as an OptionalPath which is either valid or 2021-09-23 17:19:55 +01:00
jacoco.go
jacoco_test.go
java.go convert logtags in java srcs 2022-04-08 14:43:18 +00:00
java_resources.go
java_test.go Use turbine instead of kapt for kotlin annotation processors 2022-03-25 10:28:50 -07:00
jdeps.go Export Java library dependency information 2022-04-18 10:23:28 +08:00
jdeps_test.go
kotlin.go Revert "Use kapt stubs for kotlin header jar for javac" 2022-04-06 07:04:09 +00:00
kotlin_test.go Revert "Use kapt stubs for kotlin header jar for javac" 2022-04-06 07:04:09 +00:00
legacy_core_platform_api_usage.go Remove ethernet-service jar dependency. 2022-03-16 00:52:40 +00:00
lint.go Export LintDepSetsIntf from java package 2022-02-08 19:25:37 +00:00
lint_defaults.txt Revert "225341614: Enforce ExtraText in platform builds" 2022-03-21 18:56:14 +00:00
lint_test.go
OWNERS Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build. 2022-01-28 18:34:08 +00:00
platform_bootclasspath.go Propagate min and max sdk versions to classpaths.proto configs. 2021-12-01 17:58:41 +00:00
platform_bootclasspath_test.go
platform_compat_config.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
platform_compat_config_test.go
plugin.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
plugin_test.go
prebuilt_apis.go Add support for sdk extensions in prebuilt_apis 2022-02-21 16:43:43 +00:00
prebuilt_apis_test.go Add support for sdk extensions in prebuilt_apis 2022-02-21 16:43:43 +00:00
proto.go convert java proto libraries with bp2build 2022-02-15 21:04:59 +00:00
proto_test.go add support for java stream protos in protoDeps 2022-02-07 22:39:38 +00:00
robolectric.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
rro.go Add support for excluding libraries from class loader contexts 2022-02-07 14:57:53 +00:00
rro_test.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
sdk.go Revert^2: "Setting Java 11 as the default version" 2022-01-24 13:31:05 +00:00
sdk_library.go Merge changes I4c373b29,I9ccda6fc,I1b390b0e,I30151217 2022-03-24 16:38:20 +00:00
sdk_library_external.go
sdk_library_test.go Pass shared library updatability attributes as strings 2022-02-11 17:59:36 +00:00
sdk_test.go Rename core-current-stubs-system-modules to be more consistent 2021-11-03 16:58:29 +00:00
support_libraries.go
system_modules.go
system_modules_test.go
systemserver_classpath_fragment.go Dexpreopt standalone system server jars. 2021-12-20 15:07:26 +00:00
systemserver_classpath_fragment_test.go Add entries for STANDALONE_SYSTEMSERVER_JARS to systemserverclasspath.pb 2021-11-30 10:51:10 +00:00
testing.go Move proguard test files to java package 2022-04-11 11:44:32 -07:00
tradefed.go