RFR: 8364372: [Leyden] Set UseAOTCodeLoadThread ergonomically

Aleksey Shipilev shade at openjdk.org
Thu Jul 31 12:07:10 UTC 2025


On Wed, 30 Jul 2025 21:15:03 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

> Without this fix:
> 
> [assembly phase]
> $ java -Xlog:jit+thread=debug -XX:AOTMode=create -XX:AOTCache=jbench.aot -XX:AOTConfiguration=jbench.aotconf -cp JavacBench.jar JavacBench 100
> ...
> [0.317s][debug][jit,thread] Added initial compiler thread C1 AOT code caching CompilerThread
> [0.317s][debug][jit,thread] Added initial compiler thread C2 AOT code caching CompilerThread
> ..
> 
> With this fix, these threads are only in the production phase, not in the assembly phase.

This makes sense, thanks. Address Vladimir's comments, and we are good to go.

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

PR Review: https://git.openjdk.org/leyden/pull/89#pullrequestreview-3075117474


More information about the leyden-dev mailing list