Skip to content

Commit

Permalink
Merge "Disable deferred tracing in R8"
Browse files Browse the repository at this point in the history
  • Loading branch information
ricowind authored and Gerrit Code Review committed Jun 1, 2022
2 parents 354b49e + 1cd1729 commit d9a0bf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit d9a0bf7

Please sign in to comment.