RFR: 8356212: runtime/cds/appcds/LotsOfSyntheticClasses.java timed out with -XX:+AOTClassLinking
Aleksey Shipilev
shade at openjdk.org
Thu May 8 14:34:50 UTC 2025
On Thu, 8 May 2025 05:06:01 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> The LotsOfSyntheticClasses.java test times out intermittently when the `open/test/hotspot/jtreg:hotspot_aot_classlinking` test group is run with the` -XX:+AOTClassLinking` option on macosx-aarch64 platform.
> Increasing the timeout value from 500 to 800 seems to have addressed the issue.
> With the change, there's no timeout when the test group is run 40 times on macosx-aarch64 with the same option.
When I wrote this test, `Step 3` was really an optional step that takes most of the time. That step effectively does class load for 100K classes. We can increase timeout for the test, but we can also optimize that part a bit, or disable the loading step altogether. I have not tested with `-XX:+AOTClassLinking`, maybe there are simple bottlenecks somewhere, let me quickly take a look.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25111#issuecomment-2863280947
More information about the hotspot-runtime-dev
mailing list