Skip to content

Use AOT builds by default #4386

@davidmorgan

Description

@davidmorgan

Currently they are enabled by --force-aot.

Reasons not to use AOT:

  • builders that use dart:mirrors will not compile
  • builders that depend on a detail of the JIT runtime environment such as Isolate.packageConfig will fail at runtime
  • 20s or so of additional startup time on first build

But these should not be a problem in most situations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions