RFR: 8352042: [leyden] Parallel precompilation

Aleksey Shipilev shade at openjdk.org
Mon Mar 17 09:28:39 UTC 2025


On Fri, 14 Mar 2025 12:22:00 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> For simplicity reasons, our current precompilation code uses effectively single-threaded blocking compiles. Even for simple cases, this makes assembly phase remarkably long. This does not scale well. We need to do precompilations in parallel. 
> 
> Unfortunately, I haven't found a good way to check that all async compilations are completed, so I introduced a new one.
> 
> Additional testing:
>  - [x] Ad-hoc precompilation tests
>  - [x] Linux x86_64 server fastdebug, `runtime/cds`

Thanks for reviews, I am going to integrate now. If there are follow-ups, we can handle them separately.

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

PR Comment: https://git.openjdk.org/leyden/pull/49#issuecomment-2728746109


More information about the leyden-dev mailing list