Skip to content

incr.comp.: Allow for re-using object files that contain unused code. #48212

Open
@michaelwoerister

Description

@michaelwoerister

Right now, incremental compilation can only re-use an object file if it is an exact match of that code that we want. In theory it would be possible though to keep using an object file that contains a superset of the code we need.

An implementation would probably need #48211 to be implemented first. CGU translation would also need to be de-querified since the re-use decision cannot be made by simply marking the CGU as green.

However, before putting effort into implementing this we should make sure that it would actually pay off. For this we need to collect some data on MonoItem invalidation (which again is covered by #48211).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions