RFR: 8351965: [leyden] Skip installing C2 AOT code if C2 precompiled AOT code trapped

Aleksey Shipilev shade at openjdk.org
Thu Mar 13 17:44:24 UTC 2025


On Thu, 13 Mar 2025 17:27:32 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> Also, don't we try to avoid uncommon traps in preloaded code these days? So, a trap in preloaded code means there's something C2 can't get rid of.

I look at it separately, and there are some traps in `ciTypeFlow`, for example, which I don't yet know how to disable in preload compilations. I don't think it is impossible -- probably throwing in more clinit barriers there -- but it would take time.

-------------

PR Comment: https://git.openjdk.org/leyden/pull/48#issuecomment-2722161708


More information about the leyden-dev mailing list