RFR: 8359107: [leyden] Pick up JDK-835748, JDK-8357473 and rework precompilation waits

Aleksey Shipilev shade at openjdk.org
Tue Jun 10 10:14:28 UTC 2025


[JDK-8357481](https://bugs.openjdk.org/browse/JDK-8357481) will come in from mainline and bring conflicting changes to CompileTask. Additionally, our precompilation ([JDK-8352042](https://bugs.openjdk.org/browse/JDK-8352042)) depends on the code that would go away with [JDK-8357473](https://bugs.openjdk.org/browse/JDK-8357473). We should cherry-pick [JDK-8357481](https://bugs.openjdk.org/browse/JDK-8357481), [JDK-8357473](https://bugs.openjdk.org/browse/JDK-8357473) and rework parallel recompilation to use the newly created `CompileTaskWait_lock` for notifications.

Additional testing:
 - [x] Ad-hoc performance tests
 - [x] Linux x86_64 server fastdebug, `runtime/cds`

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

Commit messages:
 - Also cherry-pick JDK-8357473
 - Fix

Changes: https://git.openjdk.org/leyden/pull/79/files
  Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=79&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359107
  Stats: 157 lines in 7 files changed: 33 ins; 75 del; 49 mod
  Patch: https://git.openjdk.org/leyden/pull/79.diff
  Fetch: git fetch https://git.openjdk.org/leyden.git pull/79/head:pull/79

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


More information about the leyden-dev mailing list