Integrated: 8349814: [leyden] Reduce uncommon traps in preload code

Aleksey Shipilev shade at openjdk.org
Wed Apr 2 17:25:30 UTC 2025


On Tue, 11 Feb 2025 10:47:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Preload code is the C2 code we load very early, before it gets substituted by more advanced C2 code. We are seeing lots of uncommon traps from the preloaded code, though, which invalidates it too early. We can do precompile code without uncommon traps to alleviate this. 
> 
> Additional testing:
>  - [x] Ad-hoc perf tests (see comment below)
>  - [x] Linux x86_64 server fastdebug, `runtime/cds`

This pull request has now been integrated.

Changeset: b6b1bcf7
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/leyden/commit/b6b1bcf76c462f2f3ee795a74f9f7f5b11ea86fe
Stats:     23 lines in 4 files changed: 21 ins; 0 del; 2 mod

8349814: [leyden] Reduce uncommon traps in preload code

Reviewed-by: kvn, vlivanov

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

PR: https://git.openjdk.org/leyden/pull/38


More information about the leyden-dev mailing list