Integrated: 8352042: [leyden] Parallel precompilation

Aleksey Shipilev shade at openjdk.org
Mon Mar 17 10:46:19 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`

This pull request has now been integrated.

Changeset: 92203ef8
Author:    Aleksey Shipilev <shade at openjdk.org>
Committer: Andrew Dinn <adinn at openjdk.org>
URL:       https://git.openjdk.org/leyden/commit/92203ef8a1d840a073958abeee3b0494d83a0780
Stats:     123 lines in 8 files changed: 65 ins; 44 del; 14 mod

8352042: [leyden] Parallel precompilation

Reviewed-by: vlivanov

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

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


More information about the leyden-dev mailing list