Skip to content

Native AOT: Re-order method bodies using PGO data #114093

@agocke

Description

@agocke

Right now Native AOT only uses PGO data to affect intra-body optimization opportunities. If method bodies were re-ordered, we could reduce the memory usage of many programs by putting all the "hot" methods into pages at the beginning of the image and cold methods at the end.

There are further possible improvements, but even a naive approach would be worth exploring.

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions