Skip to content

When -Ybest-effort is used, do not spawn .betasty in successful compilations #21833

Open
@jchyb

Description

@jchyb

Compiler version

3.5.0+

Expectation

When -Ybest-effort is used, the compiler will always produce .betasty when in the pickler phase, regardless of whether the compilation up to this point had errors or not. This was so that even when the compiler fails later in the transform phases, we still have the betasty to rely on. However, this does not really make sense when considered from the build tool perspective, where in the situation where the compilation succeeds, it ends up having to clean up the files, with time wasted both on writing and subsequent deleting of the files.
We should have a separate phase for writing betasty, run directly after pickler or the first error in transform phases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions