Integrated: 8350210: CTW: Use stackless exceptions

Aleksey Shipilev shade at openjdk.org
Wed Feb 19 11:37:56 UTC 2025


On Tue, 18 Feb 2025 09:05:36 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Looking at reducing CTW costs in our infra, there are a few simple improvements we can take.
> 
> CTW runners compiling 3rd party JARs normally catch lots of stray exceptions when trying to load non-existing classes, e.g. for resolving the static final fields, or preloading the constant pool. Generating stack traces for these take considerable time, and stack traces for those exceptions are not essential to debug CTW runs. So, we can summarily disable them.
> 
> This has no effect on `applications/ctw/modules`. Compiling a large 3rd party JAR like `solr-core-7.4.0.jar`, for example, improves from ~15.3s to ~12.5s.

This pull request has now been integrated.

Changeset: 2353f3e2
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2353f3e2f18ccaa972ee7a292d5a45035c647881
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8350210: CTW: Use stackless exceptions

Reviewed-by: kvn, chagedorn

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

PR: https://git.openjdk.org/jdk/pull/23671


More information about the hotspot-compiler-dev mailing list