3 ms·
That’s what JVM HotSpot and .NET do. The former had this since a long time ago and the latter had this since 6 but only enabled by default in the recent 8 relea
by neonsunset 3y ago
That’s what JVM HotSpot and .NET do. The former had this since a long time ago and the latter had this since 6 but only enabled by default in the recent 8 release.
There’s a video that describes how it works, although it focuses more on devirtualization and inlining rather than basic block reordering (which .NET also does, it’s a “proper” PGO implementation): https://youtu.be/WrpYcGic9b8?si=sLKAi-bpzDevgswx https://youtu.be/WrpYcGic9b8?si=sLKAi-bpzDevgswx