RFR: 8349814: [leyden] Reduce uncommon traps in preload code [v5]
Aleksey Shipilev
shade at openjdk.org
Tue Mar 18 18:45:39 UTC 2025
> 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`
Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 11 additional commits since the last revision:
- Merge branch 'premain' into JDK-8349814-preload-avoid-uncommon-traps
- Merge logging
- Better logging levels
- Merge branch 'premain' into JDK-8349814-preload-avoid-uncommon-traps
- Also print the comment
- Merge branch 'premain' into JDK-8349814-preload-avoid-uncommon-traps
- Demote to info
- Merge branch 'premain' into JDK-8349814-preload-avoid-uncommon-traps
- Shuffle things around to capture more cases
- Comment
- ... and 1 more: https://git.openjdk.org/leyden/compare/1dfcdcc8...5a1f9e1c
-------------
Changes:
- all: https://git.openjdk.org/leyden/pull/38/files
- new: https://git.openjdk.org/leyden/pull/38/files/bc4e825b..5a1f9e1c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=leyden&pr=38&range=04
- incr: https://webrevs.openjdk.org/?repo=leyden&pr=38&range=03-04
Stats: 89461 lines in 1881 files changed: 43334 ins; 31830 del; 14297 mod
Patch: https://git.openjdk.org/leyden/pull/38.diff
Fetch: git fetch https://git.openjdk.org/leyden.git pull/38/head:pull/38
PR: https://git.openjdk.org/leyden/pull/38
More information about the leyden-dev
mailing list