Merge "Disable deferred tracing in R8"

This commit is contained in:
Rico Wind 2022-06-01 03:54:59 +00:00 committed by Gerrit Code Review
commit d9a0bf79ec

View file

@ -95,6 +95,8 @@ func init() {
}, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
"-JXmx2048M",
// Disable this optimization as it can impact weak reference semantics. See b/233432839.
"-JDcom.android.tools.r8.disableEnqueuerDeferredTracing=true",
}, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{