Files
sdk/pkg/vm
Alexander Markov d84c16318c [vm/aot/tfa] Approximate interface calls more eagerly
When there is a large number of combinations of argument types,
TFA can approximate interface call by dropping actual argument types.
This is needed to cap/reduce AOT compilation time in certain edge
cases involving auto-generated code, such as package:built_value
serialization/deserialization.

This change reduces the cap on number of analyzed invocations
per selector from 5000 to 1000, in order to avoid 40+ min
compilation seen in the wild.

The effect of this change on code size and performance is negligible.

Issue: https://github.com/flutter/flutter/issues/136529
Change-Id: Ie404f044ef4126fc608b4a0918680504226feaca
TEST=ci
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/337260
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Auto-Submit: Alexander Markov <alexmarkov@google.com>
2023-11-20 19:13:41 +00:00
..

This package hosts VM specific Dart code and helper scripts.