Skip to content

Don't generate guarded devirtualization for abstract classes #61190

Closed
@MichalStrehovsky

Description

@MichalStrehovsky

Stale PGO data might have information in it suggesting a class that is abstract is a likely class at some virtual callsite (because the class wasn't abstract when the PGO data was collected). Such information is obviously out of date and can be ignored because the devirtualization opportunity will never happen - abstract classes cannot be allocated.

Cc @AndyAyersMS this is tracking what we discussed over email.

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions