RFR: 8349814: [leyden] Reduce uncommon traps in preload code [v7]

Aleksey Shipilev shade at openjdk.org
Tue Apr 1 16:52:03 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 incrementally with two additional commits since the last revision:

 - Specialize ciTypeFlow traps
 - More debugging on ciTypeFlow side

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

Changes:
  - all: https://git.openjdk.org/leyden/pull/38/files
  - new: https://git.openjdk.org/leyden/pull/38/files/0a746688..116fa717

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=leyden&pr=38&range=06
 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=38&range=05-06

  Stats: 33 lines in 2 files changed: 19 ins; 0 del; 14 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